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 0857499 commit 21fea7aCopy full SHA for 21fea7a
spec/cucumber/deprecate_spec.rb
@@ -7,10 +7,10 @@ module Cucumber
7
it 'outputs a message to $stderr' do
8
allow($stderr).to receive(:puts)
9
10
- Cucumber.deprecate('Use some_method instead', 'someMethod', '1.0.0')
+ Cucumber.deprecate('Use #some_other_method instead', '#some_method', '1.0.0')
11
expect($stderr).to have_received(:puts).with(
12
a_string_including(
13
- 'WARNING: #someMethod is deprecated and will be removed after version 1.0.0. Use some_method instead.'
+ 'WARNING: #some_method is deprecated and will be removed after version 1.0.0. Use #some_other_method instead.'
14
)
15
16
end
0 commit comments