diff options
author | Nathan Broadbent <nathan.f77@gmail.com> | 2012-11-02 17:55:10 +1300 |
---|---|---|
committer | Nathan Broadbent <nathan.f77@gmail.com> | 2013-01-24 14:47:57 +1300 |
commit | 898916c3970d47217e33621311e1a02b7109ace9 (patch) | |
tree | ef66222df2defd024245a25c85937b3d730c2072 /spec/other | |
parent | cab01e60796759bc38e8eb67e4d6c12df347dd65 (diff) | |
download | bundler-898916c3970d47217e33621311e1a02b7109ace9.tar.gz |
Added -t options for `bundle gem` to generate a .travis.yml file with the current Ruby version
Diffstat (limited to 'spec/other')
-rw-r--r-- | spec/other/newgem_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/other/newgem_spec.rb b/spec/other/newgem_spec.rb index abbefb45fa..946da19b3d 100644 --- a/spec/other/newgem_spec.rb +++ b/spec/other/newgem_spec.rb @@ -178,6 +178,10 @@ RAKEFILE expect(bundled_app("test_gem/spec/spec_helper.rb")).to exist expect(bundled_app("test_gem/test/minitest_helper.rb")).to_not exist end + + it "creates a .travis.yml file to test the library against the current Ruby version on Travis CI" do + expect(bundled_app("test_gem/.travis.yml").read).to match(%r(- #{RUBY_VERSION})) + end end context "--edit option" do |