diff options
Diffstat (limited to 'spec/commands/help_spec.rb')
-rw-r--r-- | spec/commands/help_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/commands/help_spec.rb b/spec/commands/help_spec.rb index 40fed074..8d65df37 100644 --- a/spec/commands/help_spec.rb +++ b/spec/commands/help_spec.rb @@ -17,7 +17,7 @@ describe "help" do end it 'should display help for a regex command with a "listing"' do - @set.command(/bar(.*)/, "Test listing", :listing => "foo") do; end + @set.command(/bar(.*)/, "Test listing", listing: "foo") do; end expect(pry_eval('help foo')).to match(/Test listing/) end @@ -27,8 +27,8 @@ describe "help" do end it 'should display help for all commands with a description' do - @set.command(/bar(.*)/, "Test listing", :listing => "foo") do; end - @set.command "b", "description for b", :listing => "foo" do; end + @set.command(/bar(.*)/, "Test listing", listing: "foo") do; end + @set.command "b", "description for b", listing: "foo" do; end @set.command "c" do;end @set.command "d", "" do;end |