Skip to content

Commit 9acf05c

Browse files
committed
Remove a duplicated test for finders
1 parent c47ac22 commit 9acf05c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

spec/dynamoid/finders_spec.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -226,19 +226,6 @@
226226
expect(klass_with_composite_key.find([[obj1.id, '1'], [obj2.id, '2']])).to match_array(objects)
227227
end
228228

229-
it 'dumps a sort key value' do
230-
klass_with_date = new_class do
231-
range :published_on, :date
232-
end
233-
234-
obj1 = klass_with_date.create(published_on: '2018/07/26'.to_date)
235-
obj2 = klass_with_date.create(published_on: '2018/07/27'.to_date)
236-
237-
expect(
238-
klass_with_date.find([[obj1.id, obj1.published_on], [obj2.id, obj2.published_on]])
239-
).to contain_exactly(obj1, obj2)
240-
end
241-
242229
it 'raises MissingRangeKey when range key is not specified' do
243230
obj1, obj2 = klass_with_composite_key.create([{ age: 1 }, { age: 2 }])
244231

0 commit comments

Comments
 (0)