We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7736019 commit 2d1f228Copy full SHA for 2d1f228
spec/lib/macros/model/search_spec.rb
@@ -15,8 +15,8 @@ def self.ransack(_current_search); end
15
let(:sorts) { [] }
16
17
before do
18
- allow(klass).to receive(:search).with(current_search).and_return(search)
19
paginate_step.call(ctx, current_search: current_search)
+ allow(klass).to receive(:ransack).with(current_search).and_return(search)
20
end
21
22
context 'when we want to search model' do
0 commit comments