spec/acceptance_spec.rb in surrogate-0.6.5 vs spec/acceptance_spec.rb in surrogate-0.7.0

- old
+ new

@@ -89,13 +89,9 @@ user.should have_been_asked_for_its :name # defaults are used if provided Mock::User.new(1).name.should == 'Josh' - # error is raised if you try to access an attribute that hasn't been set and has no default - expect { Mock::User.new(1).address }.to raise_error Surrogate::UnpreparedMethodError - Mock::User.new(1).will_have_address('123 Fake St.').address.should == '123 Fake St.' - # methods with multiple args user.phone_numbers.should be_empty user.add_phone_number '123', '456-7890' user.should have_been_told_to(:add_phone_number).with('123', '456-7890') # user.phone_numbers.should == [['123', '456-7890']] # <-- should we use a hook, or default block to make this happen?