spec/riak/secondary_index_spec.rb in riak-client-2.2.0.pre1 vs spec/riak/secondary_index_spec.rb in riak-client-2.2.0
- old
+ new
@@ -78,12 +78,12 @@
and_return(@expected_collection)
allow(@backend).to receive(:get_server_version).and_return('1.4.0')
@index = Riak::SecondaryIndex.new(
- @bucket,
- 'asdf',
+ @bucket,
+ 'asdf',
'aaaa'..'zzzz',
:max_results => @max_results
)
@results = @index.keys
@@ -113,12 +113,12 @@
and_return(@expected_collection)
allow(@backend).to receive(:get_server_version).and_return('1.4.0')
@index = Riak::SecondaryIndex.new(
- @bucket,
- 'asdf',
+ @bucket,
+ 'asdf',
'aaaa'..'zzzz',
max_results: @max_results,
continuation: 'examplecontinuation'
)
@@ -149,11 +149,11 @@
and_return(@expected_collection)
allow(@backend).to receive(:get_server_version).and_return('1.4.0')
@index = Riak::SecondaryIndex.new(
- @bucket,
- 'asdf',
+ @bucket,
+ 'asdf',
'aaaa'..'zzzz',
:max_results => @max_results
)
@results = @index.keys