Skip to content

Commit 9af1a35

Browse files
TimTim
authored andcommitted
fix spec
1 parent b0bc037 commit 9af1a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/supplejack_api/search_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ module SupplejackApi
156156
it 'should include the correct search sort' do
157157
search = RecordSearch.new(sort: 'random')
158158

159-
expect(search.search_builder.inspect.include?(':sort=>"random desc"')).to eq true
159+
expect(search.search_builder.inspect.include?('sort: "random desc"')).to eq true
160160
end
161161
end
162162

0 commit comments

Comments
 (0)