summaryrefslogtreecommitdiff
path: root/spec/command_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/command_spec.rb')
-rw-r--r--spec/command_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/command_spec.rb b/spec/command_spec.rb
index 2e07cdb3..7d214592 100644
--- a/spec/command_spec.rb
+++ b/spec/command_spec.rb
@@ -234,7 +234,7 @@ describe "Pry::Command" do
command_options :listing => 'number-one'
end
- cmd.command_options[:shellwords].should == false
+ cmd.command_options[:shellwords].should.be_false
cmd.command_options[:listing].should == 'number-one'
end
@@ -246,7 +246,7 @@ describe "Pry::Command" do
def process
opts.fetch_command(:blahblah).should == nil
- opts.fetch_command(:yell).present?.should == true
+ opts.fetch_command(:yell).present?.should.be_true
end
end
@@ -263,8 +263,8 @@ describe "Pry::Command" do
def process
args.should == ['papa']
- opts.fetch_command(:yell).present?.should == true
- opts.fetch_command(:yell).person?.should == true
+ opts.fetch_command(:yell).present?.should.be_true
+ opts.fetch_command(:yell).person?.should.be_true
end
end