1 module AnimalSpecHelper
13 "expected #{@animal} to eat #{@food}, but it does not"
16 def negative_failure_message
17 "expected #{@animal} not to eat #{@food}, but it does"
29 return foods_i_eat.include?(food)
40 include AnimalSpecHelper
42 @mouse = Animals::Mouse.new
45 it "should eat cheese" do
46 @mouse.should eat(:cheese)
49 it "should not eat cat" do
50 @mouse.should_not eat(:cat)