summaryrefslogtreecommitdiff
path: root/spec/syntax_checking_spec.rb
diff options
context:
space:
mode:
authorRyan Fitzgerald <rwfitzge@gmail.com>2014-03-13 23:11:19 -0700
committerRyan Fitzgerald <rwfitzge@gmail.com>2014-03-13 23:28:52 -0700
commitdcdc4776b6c009e835494f462c4016a7d930f2b1 (patch)
treec2b359c3b3010c0f8a9c5ff18467b3f464275e05 /spec/syntax_checking_spec.rb
parent82dc33445cd66d8ffeed371c857253887e54e671 (diff)
downloadpry-minitest-bacon.tar.gz
Switch from bacon to minitest-baconminitest-bacon
This gives us more flexibility to use the other assertion types built into Minitest, use Minitest plugins, etc. The process of setting it up also revealed some order dependencies and other weirdness in the specs.
Diffstat (limited to 'spec/syntax_checking_spec.rb')
-rw-r--r--spec/syntax_checking_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/syntax_checking_spec.rb b/spec/syntax_checking_spec.rb
index cd2700f9..5e89c940 100644
--- a/spec/syntax_checking_spec.rb
+++ b/spec/syntax_checking_spec.rb
@@ -51,12 +51,12 @@ describe Pry do
it "should allow trailing , to continue the line" do
pry = Pry.new
- Pry::Code.complete_expression?("puts 1, 2,").should == false
+ Pry::Code.complete_expression?("puts 1, 2,").should.be_false
end
it "should complete an expression that contains a line ending with a ," do
pry = Pry.new
- Pry::Code.complete_expression?("puts 1, 2,\n3").should == true
+ Pry::Code.complete_expression?("puts 1, 2,\n3").should.be_true
end
it "should not suppress the error output if the line ends in ;" do