Displaying 1 result from an estimated 1 matches for "siberantiger".
Did you mean:
siberiantiger
2007 Aug 06
2
used the described Class in a shared behavior
...felines"
before(:all) do
@klass = SiberianCat
end
it "should purr" do
@feline.sound.should == "purr"
end
end
describe SiberianTiger, "(a subclass of BigCat)" do
it_should_behave_like "Siberian felines"
before(:all) do
@klass = SiberanTiger
end
it "should roar" do
@feline.sound.should == "roar"
end
end
Then again, i have a gut feeling that if i took better advantage of
modules it wouldn''t be an issue...
-Ben