spec/acfs_spec.rb in acfs-1.5.1 vs spec/acfs_spec.rb in acfs-1.6.0
- old
+ new
@@ -189,10 +189,10 @@
end
it 'should load associated resources from different service' do
@user = MyUser.find 2 do |user|
expect(user.id).to be == 2
- @comments = Comment.where user: user.id
+ @comments = Comment.where({user: user.id})
end
Acfs.run
expect(@user.id).to be == 2