summaryrefslogtreecommitdiff
path: root/spec/other
diff options
context:
space:
mode:
authorNathan Broadbent <nathan.f77@gmail.com>2012-11-02 17:55:10 +1300
committerNathan Broadbent <nathan.f77@gmail.com>2013-01-24 14:47:57 +1300
commit898916c3970d47217e33621311e1a02b7109ace9 (patch)
treeef66222df2defd024245a25c85937b3d730c2072 /spec/other
parentcab01e60796759bc38e8eb67e4d6c12df347dd65 (diff)
downloadbundler-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.rb4
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