spec/integration/command_spec.rb in rom-repository-1.0.0.beta1 vs spec/integration/command_spec.rb in rom-repository-1.0.0.beta2
- old
+ new
@@ -35,12 +35,12 @@
expect(user.id).to_not be(nil)
expect(user.name).to eql('Jane Doe')
end
- it 'uses schema_hash for command input' do
+ it 'uses input_schema for command input' do
create_user = repo.command(create: :users)
- expect(create_user.input).to eql(repo.users.schema_hash)
+ expect(create_user.input).to eql(repo.users.input_schema)
end
it 'caches commands' do
create_user = -> { repo.command(create: :users) }