summaryrefslogtreecommitdiff
path: root/spec/other/check_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/other/check_spec.rb')
-rw-r--r--spec/other/check_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/other/check_spec.rb b/spec/other/check_spec.rb
index 519ecc15c3..e6347b65e3 100644
--- a/spec/other/check_spec.rb
+++ b/spec/other/check_spec.rb
@@ -9,7 +9,7 @@ describe "bundle check" do
bundle :check, :exitstatus => true
check @exitstatus.should == 0
- out.should == "The Gemfile's dependencies are satisfied"
+ out.should match /\nThe Gemfile's dependencies are satisfied\Z/
end
it "works with the --gemfile flag when not in the directory" do
@@ -20,7 +20,7 @@ describe "bundle check" do
Dir.chdir tmp
bundle "check --gemfile bundled_app/Gemfile"
- out.should == "The Gemfile's dependencies are satisfied"
+ out.should match /\nThe Gemfile's dependencies are satisfied\Z/
end
it "creates a Gemfile.lock if one did not exist" do
@@ -139,7 +139,7 @@ describe "bundle check" do
G
bundle :check
- out.should == "The Gemfile's dependencies are satisfied"
+ out.should match /\nThe Gemfile's dependencies are satisfied\Z/
end
it "works with env conditionals" do
@@ -170,7 +170,7 @@ describe "bundle check" do
G
bundle :check
- out.should == "The Gemfile's dependencies are satisfied"
+ out.should match /\nThe Gemfile's dependencies are satisfied\Z/
end
it "outputs an error when the default Gemfile is not found" do
@@ -208,7 +208,7 @@ describe "bundle check" do
bundle :install
bundle :check, :exitstatus => true
check @exitstatus.should == 0
- out.should == "The Gemfile's dependencies are satisfied"
+ out.should match /\nThe Gemfile's dependencies are satisfied\Z/
end
it "shows what is missing with the current Gemfile if it is not satisfied" do