diff options
author | Andre Arko <andre@arko.net> | 2012-11-15 17:22:57 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-11-15 17:22:57 -0800 |
commit | 42e5af3d237108dbbad0720237660974c4fd784e (patch) | |
tree | f941b84fc950b9de3cd7c2392c273a0875559ab3 /spec/other/platform_spec.rb | |
parent | c9042b20c1dab6fa950af12cdc56151b66d4c4b4 (diff) | |
parent | 8d6f35a3c6316fc58877b0f37e85a4be3a432736 (diff) | |
download | bundler-42e5af3d237108dbbad0720237660974c4fd784e.tar.gz |
Merge tag 'v1.2.2'
Version 1.2.2
Conflicts:
.travis.yml
lib/bundler.rb
lib/bundler/psyched_yaml.rb
lib/bundler/version.rb
spec/bundler/psyched_yaml_spec.rb
spec/other/clean_spec.rb
Diffstat (limited to 'spec/other/platform_spec.rb')
-rw-r--r-- | spec/other/platform_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/other/platform_spec.rb b/spec/other/platform_spec.rb index 625c961c1d..e667ee37c3 100644 --- a/spec/other/platform_spec.rb +++ b/spec/other/platform_spec.rb @@ -158,6 +158,19 @@ G expect(exitstatus).not_to eq(0) end + + it "should print if no ruby version is specified" do + gemfile <<-G + source "file://#{gem_repo1}" + + gem "foo" + G + + bundle "platform --ruby" + puts err + + out.should eq("No ruby version specified") + end end let(:ruby_version_correct) { "ruby \"#{RUBY_VERSION}\", :engine => \"#{local_ruby_engine}\", :engine_version => \"#{local_engine_version}\"" } |