spec/acceptance_spec.rb in surrogate-0.5.5 vs spec/acceptance_spec.rb in surrogate-0.6.0
- old
+ new
@@ -114,10 +114,10 @@
# real user is not a suitable substitute if missing methods that mock user has
user_class.should_not substitute_for Class.new
# real user must have all of mock user's methods to be substitutable
substitutable_real_user_class = Class.new do
- def self.find() end
+ def self.find(id) end
def initialize(id) end
def id() end
def name() end
def address() end
def phone_numbers() end