spec/zertico/accessor_spec.rb in zertico-0.6.1 vs spec/zertico/accessor_spec.rb in zertico-1.0.0
- old
+ new
@@ -55,9 +55,9 @@
end
end
describe '#method_missing' do
it 'should pass the method to the interface model if it responds to it' do
- UserAccessor.new(user).should respond_to(:name)
+ user_accessor.should respond_to(:full_name)
end
end
end
\ No newline at end of file