summaryrefslogtreecommitdiff
path: root/spec/update
diff options
context:
space:
mode:
authorjoyicecloud <joyicecloud@gmail.com>2013-09-20 14:30:13 -0700
committerjoyicecloud <joyicecloud@gmail.com>2013-09-23 19:09:46 -0700
commitf02f0fcc218b89e35b59c704c488c185aa23aca0 (patch)
tree22fe83546e118c41e1a306e0827e000965631eae /spec/update
parent43732e9c1b3a7510d0592d2a2f357855abab18d7 (diff)
downloadbundler-f02f0fcc218b89e35b59c704c488c185aa23aca0.tar.gz
Put old version message in the block level
Change bundle update message format Change rspec bundle update message text to match in files (rubygem, git, path source, etc)
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/gems_spec.rb4
-rw-r--r--spec/update/git_spec.rb4
-rw-r--r--spec/update/source_spec.rb2
3 files changed, 5 insertions, 5 deletions
diff --git a/spec/update/gems_spec.rb b/spec/update/gems_spec.rb
index aa9721472d..2daf72dcdb 100644
--- a/spec/update/gems_spec.rb
+++ b/spec/update/gems_spec.rb
@@ -162,13 +162,13 @@ describe "bundle update" do
G
bundle "update"
- expect(out).to include("Using activesupport (2.3.5)")
+ expect(out).to include("Using activesupport 2.3.5")
update_repo2 do
build_gem "activesupport", "3.0"
end
bundle "update"
- expect(out).to include("Installing activesupport (3.0) was (2.3.5)")
+ expect(out).to include("Installing activesupport 3.0 (was 2.3.5)")
end
end \ No newline at end of file
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 9fb9c391fc..4d3a570f71 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -32,7 +32,7 @@ describe "bundle update" do
G
bundle "update rails"
- expect(out).to include("Using activesupport (3.0) from #{lib_path('rails')} (at master)")
+ expect(out).to include("Using activesupport 3.0 from #{lib_path('rails')} (at master)")
should_be_installed "rails 3.0", "activesupport 3.0"
end
@@ -230,7 +230,7 @@ describe "bundle update" do
G
bundle "update"
- expect(out).to include("Using rails (3.0) was (2.3.2) from #{lib_path('rails')} (at master)")
+ expect(out).to include("Using rails 3.0 (was 2.3.2) from #{lib_path('rails')} (at master)")
end
end
end
diff --git a/spec/update/source_spec.rb b/spec/update/source_spec.rb
index 9768e15526..c9fe7c68fc 100644
--- a/spec/update/source_spec.rb
+++ b/spec/update/source_spec.rb
@@ -57,7 +57,7 @@ describe "bundle update --source" do
build_lib "activesupport", "3.0", :path => lib_path("rails/activesupport")
bundle "update --source activesupport"
- expect(out).to include("Using activesupport (3.0) was (2.3.5) from source at #{lib_path('rails/activesupport')}")
+ expect(out).to include("Using activesupport 3.0 (was 2.3.5) from source at #{lib_path('rails/activesupport')}")
end
end
end