test/features/gemfile_test.rb in eefgilm-1.1.1 vs test/features/gemfile_test.rb in eefgilm-1.1.2
- old
+ new
@@ -38,9 +38,14 @@
it "should keep the ruby version" do
@worker.clean!
@worker.rubyversion.must_include 'ruby "2.0.0"'
end
+ it do
+ @worker.clean!
+ @worker.source.must_include 'https://rubygems.org'
+ end
+
it "without a specified ruby version, it should not have an extra line" do
regex = /^[\s]*$\n/
count = 0
@worker2.clean!
File.read(@file2).each_line do |line|