Skip to content

Commit ad46ba4

Browse files
committed
Fix cops
1 parent ff114c8 commit ad46ba4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/integration/hashie/hashie_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
end
3636

3737
it 'raises a deprecation' do
38-
expect(Grape.deprecator).to receive(:warn).with("Grape::Extensions::Hashie::Mash::ParamBuilder has been deprecated. Use short name :hashie_mash instead.").and_raise(ActiveSupport::DeprecationException, :deprecated)
38+
expect(Grape.deprecator).to receive(:warn).with('Grape::Extensions::Hashie::Mash::ParamBuilder has been deprecated. Use short name :hashie_mash instead.').and_raise(ActiveSupport::DeprecationException,
39+
:deprecated)
3940
expect { get '/' }.to raise_error(ActiveSupport::DeprecationException, 'deprecated')
4041
end
4142
end

0 commit comments

Comments
 (0)