spec/lib/shamu/rails/entity_spec.rb in shamu-0.0.21 vs spec/lib/shamu/rails/entity_spec.rb in shamu-0.0.24
- old
+ new
@@ -4,10 +4,10 @@
class Service < Shamu::Services::Service
include Shamu::Security::Support
include Shamu::Services::RequestSupport
def find( id )
- scorpion.fetch ExampleEntity, { id: id }, {}
+ scorpion.fetch ExampleEntity, id: id
end
def list( params = nil )
Shamu::Entities::List.new [ find( 1 ) ]
end