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 833cfe8 commit d3e81d6Copy full SHA for d3e81d6
spec/grape/dsl/parameters_spec.rb
@@ -43,7 +43,10 @@ def validates_reader
43
subject { ParametersSpec::Dummy.new }
44
45
describe '#use' do
46
- before { allow(subject.api).to receive(:namespace_stackable).with(:named_params) }
+ before {
47
+ allow_message_expectations_on_nil
48
+ allow(subject.api).to receive(:namespace_stackable).with(:named_params)
49
+ }
50
let(:options) { { option: 'value' } }
51
let(:named_params) { { params_group: proc {} } }
52
0 commit comments