spec/riak/crdt/inner_map_spec.rb in riak-client-2.0.0 vs spec/riak/crdt/inner_map_spec.rb in riak-client-2.1.0
- old
+ new
@@ -15,25 +15,25 @@
registers: {delta: 'the expendables' },
sets: {echo: %w{stallone statham li lundgren}}
}
end
- it 'should be initializable with a nested hash of maps' do
+ it 'is initializable with a nested hash of maps' do
expect{described_class.new parent, populated_contents}.
to_not raise_error
end
describe 'deleting the inner map' do
- it 'should ask the class for a delete operation' do
+ it 'asks the class for a delete operation' do
operation = described_class.delete
expect(operation.type).to eq :map
end
end
describe 'receiving an operation' do
let(:inner_operation){ double 'inner operation' }
- it 'should wrap the operation in an update operation and pass it to the parent' do
+ it 'wraps the operation in an update operation and pass it to the parent' do
subject.name = 'name'
expect(parent).to receive(:operate) do |name, op|
expect(name).to eq 'name'
expect(op.type).to eq :map