spec/commands/newgem_spec.rb in bundler-1.5.2 vs spec/commands/newgem_spec.rb in bundler-1.5.3
- old
+ new
@@ -152,11 +152,11 @@
it "requires 'test-gem'" do
expect(bundled_app("test_gem/spec/spec_helper.rb").read).to match(/require 'test_gem'/)
end
it "creates a default test which fails" do
- expect(bundled_app("test_gem/spec/test_gem_spec.rb").read).to match(/false.should be_true/)
+ expect(bundled_app("test_gem/spec/test_gem_spec.rb").read).to match(/false.should eq(true)/)
end
end
context "--test parameter set to minitest" do
before do
@@ -328,10 +328,10 @@
it "requires 'test/gem'" do
expect(bundled_app("test-gem/spec/spec_helper.rb").read).to match(/require 'test\/gem'/)
end
it "creates a default test which fails" do
- expect(bundled_app("test-gem/spec/test/gem_spec.rb").read).to match(/false.should be_true/)
+ expect(bundled_app("test-gem/spec/test/gem_spec.rb").read).to match(/false.should eq(true)/)
end
it "creates a default rake task to run the specs" do
rakefile = strip_whitespace <<-RAKEFILE
require "bundler/gem_tasks"