test/liner/inspectable_test.rb in liner-0.1.1 vs test/liner/inspectable_test.rb in liner-0.1.2

- old
+ new

@@ -1,9 +1,9 @@ describe Liner::Inspectable do - subject { Burger.new(meat: 'turkey') } + subject { Cheeseburger.new(meat: 'turkey') } it "#inspect must include all attributes" do - subject.inspect.must_equal '#<Burger bun=nil, meat="turkey", cheese=nil>' + subject.inspect.must_equal '#<Cheeseburger bun=nil, meat="turkey", cheese=nil>' end it "#to_s must include all attributes" do - subject.to_s.must_equal '#<Burger bun=nil, meat="turkey", cheese=nil>' + subject.to_s.must_equal '#<Cheeseburger bun=nil, meat="turkey", cheese=nil>' end end