spec/zertico/service/instance_methods_spec.rb in zertico-2.0.0.alpha.3 vs spec/zertico/service/instance_methods_spec.rb in zertico-2.0.0.beta.1

- old
+ new

@@ -68,14 +68,14 @@ end end describe '#update' do it 'should search for an user' do - expect(users_service.update({ :id => 1, :user => {} })).to eq(user) + expect(users_service.update({ :user => { :id => 1, :user => {} }}, { :id => 1, :user => {} })).to eq(user) end before :each do - users_service.update({ :id => 1, :user => {} }) + users_service.update({ :user => { :id => 1, :user => {} }}, { :id => 1, :user => {} }) end it 'should update the user' do expect(users_service.user.updated).to eq(true) end \ No newline at end of file