summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-02 14:44:58 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-03 16:08:40 +0200
commit1202e8f03104b1627b4de9b833f5b56610dd6ab6 (patch)
tree39a92f179676f37fe01759eeff95ef6ce104e6ec
parent65d55ffabc8b84af24d11990ee16bd774a42e7cc (diff)
downloadbundler-1202e8f03104b1627b4de9b833f5b56610dd6ab6.tar.gz
Rename some specs to be more generic
-rw-r--r--spec/commands/newgem_spec.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/commands/newgem_spec.rb b/spec/commands/newgem_spec.rb
index 38e8930762..53bf142b76 100644
--- a/spec/commands/newgem_spec.rb
+++ b/spec/commands/newgem_spec.rb
@@ -360,7 +360,7 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test_gem/exe/test_gem")).to exist
end
- it "requires 'test-gem'" do
+ it "requires the main file" do
expect(bundled_app("test_gem/exe/test_gem").read).to match(/require "test_gem"/)
end
end
@@ -375,7 +375,7 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test_gem/exe/test_gem")).to exist
end
- it "requires 'test-gem'" do
+ it "requires the main file" do
expect(bundled_app("test_gem/exe/test_gem").read).to match(/require "test_gem"/)
end
end
@@ -417,7 +417,7 @@ RSpec.describe "bundle gem" do
end
end
- it "requires 'test-gem'" do
+ it "requires the main file" do
expect(bundled_app("test_gem/spec/spec_helper.rb").read).to include(%(require "test_gem"))
end
@@ -474,7 +474,7 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test_gem/test/test_helper.rb")).to exist
end
- it "requires 'test-gem'" do
+ it "requires the main file" do
expect(bundled_app("test_gem/test/test_helper.rb").read).to include(%(require "test_gem"))
end
@@ -639,7 +639,7 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test-gem/exe/test-gem")).to exist
end
- it "requires 'test/gem'" do
+ it "requires the main file" do
expect(bundled_app("test-gem/exe/test-gem").read).to match(%r{require "test/gem"})
end
end
@@ -671,7 +671,7 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test-gem/spec/spec_helper.rb")).to exist
end
- it "requires 'test/gem'" do
+ it "requires the main file" do
expect(bundled_app("test-gem/spec/spec_helper.rb").read).to include(%(require "test/gem"))
end
@@ -704,7 +704,7 @@ RSpec.describe "bundle gem" do
expect(bundled_app("test-gem/test/test_helper.rb")).to exist
end
- it "requires 'test/gem'" do
+ it "requires the main file" do
expect(bundled_app("test-gem/test/test_helper.rb").read).to match(%r{require "test/gem"})
end