Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Failures:
  2.  
  3. 1) Zoo#add_animal should raise an error if there are no empty cages
  4. Failure/Error: expect { zoo.add_animal(python) }.to raise_error(ZooAtCapacity)
  5.  
  6. NameError:
  7. uninitialized constant ZooAtCapacity
  8. # ./spec/7_zoo_spec.rb:70:in `block (3 levels) in <top (required)>'
  9.  
  10. Finished in 0.01909 seconds (files took 0.21866 seconds to load)
  11. 32 examples, 1 failure
  12.  
  13. Failed examples:
  14.  
  15. rspec ./spec/7_zoo_spec.rb:63 # Zoo#add_animal should raise an error if there are no empty cages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement