aboutsummaryrefslogtreecommitdiffstats
path: root/spec/other
diff options
context:
space:
mode:
authorTad Hosford <tad.hosford@gmail.com>2013-06-25 13:15:05 -0500
committerAndre Arko <andre@arko.net>2013-06-27 11:09:04 -0700
commit82e660a715a051e4b3d2180e08db39fdd25b6e69 (patch)
tree3ea53e5b445df51785ea3d949e166d96ff8fb746 /spec/other
parentddd2c83e24863c10b0094941cc0070737864e613 (diff)
downloadbundler-82e660a715a051e4b3d2180e08db39fdd25b6e69.tar.gz
Spelling, grammar, and consistency in spec/other/
Fixes mistake in gems_spec.rb wording Fixes mistakes in git_spec.rb wording Removes empty line at end of class in source_spec.rb Fixes spelling/grammar in other/binstubs.spec mri -> MRI in other/binstubs.spec to be consistent and correct Fixes verb tense agreement in other/check_spec.rb Grammar fixes in other/clean_spec.rb Removes empty line at end of other/exec_spec.rb Removes empty line at end of other/init_spec.rb Removes extra empty lines at beginning and end of spec/other/outdated_spec.rb
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/binstubs_spec.rb6
-rw-r--r--spec/other/bundle_ruby_spec.rb2
-rw-r--r--spec/other/check_spec.rb2
-rw-r--r--spec/other/clean_spec.rb4
-rw-r--r--spec/other/exec_spec.rb1
-rw-r--r--spec/other/init_spec.rb1
-rw-r--r--spec/other/outdated_spec.rb2
7 files changed, 7 insertions, 11 deletions
diff --git a/spec/other/binstubs_spec.rb b/spec/other/binstubs_spec.rb
index f5e1347a..9237a8d3 100644
--- a/spec/other/binstubs_spec.rb
+++ b/spec/other/binstubs_spec.rb
@@ -37,7 +37,7 @@ describe "bundle binstubs <gem>" do
expect(out).to eq("Sorry, Bundler can only be run via Rubygems.")
end
- it "install binstubs from git gems" do
+ it "installs binstubs from git gems" do
FileUtils.mkdir_p(lib_path("foo/bin"))
FileUtils.touch(lib_path("foo/bin/foo"))
build_git "foo", "1.0", :path => lib_path("foo") do |s|
@@ -95,7 +95,7 @@ describe "bundle binstubs <gem>" do
end
context "when the bin already exists" do
- it "don't override it and warn" do
+ it "doesn't overwrite and warns" do
FileUtils.mkdir_p(bundled_app("bin"))
File.open(bundled_app("bin/rackup"), 'wb') do |file|
file.print "OMG"
@@ -115,7 +115,7 @@ describe "bundle binstubs <gem>" do
end
context "when using --force" do
- it "overrides the binstub" do
+ it "overwrites the binstub" do
FileUtils.mkdir_p(bundled_app("bin"))
File.open(bundled_app("bin/rackup"), 'wb') do |file|
file.print "OMG"
diff --git a/spec/other/bundle_ruby_spec.rb b/spec/other/bundle_ruby_spec.rb
index 164a23c6..5bb563a7 100644
--- a/spec/other/bundle_ruby_spec.rb
+++ b/spec/other/bundle_ruby_spec.rb
@@ -83,7 +83,7 @@ describe "bundle_ruby" do
expect(out).to eq("Please define :engine")
end
- it "raises an error if engine version doesn't match ruby version for mri" do
+ it "raises an error if engine version doesn't match ruby version for MRI" do
gemfile <<-G
source "file://#{gem_repo1}"
ruby "1.8.7", :engine => 'ruby', :engine_version => '1.2.4'
diff --git a/spec/other/check_spec.rb b/spec/other/check_spec.rb
index 5f36fa26..248b5c2e 100644
--- a/spec/other/check_spec.rb
+++ b/spec/other/check_spec.rb
@@ -23,7 +23,7 @@ describe "bundle check" do
expect(out).to eq("The Gemfile's dependencies are satisfied")
end
- it "creates a Gemfile.lock by default if one did not exist" do
+ it "creates a Gemfile.lock by default if one does not exist" do
install_gemfile <<-G
source "file://#{gem_repo1}"
gem "rails"
diff --git a/spec/other/clean_spec.rb b/spec/other/clean_spec.rb
index 393902ba..cee1312a 100644
--- a/spec/other/clean_spec.rb
+++ b/spec/other/clean_spec.rb
@@ -100,7 +100,7 @@ describe "bundle clean" do
expect(vendored_gems("bin/rackup")).to exist
end
- it "remove gems in bundle without groups" do
+ it "removes gems in bundle without groups" do
gemfile <<-G
source "file://#{gem_repo1}"
@@ -288,7 +288,7 @@ describe "bundle clean" do
end
# handling bundle clean upgrade path from the pre's
- it "removes .gem/.gemspec file even if there's no corresponding gem dir is already moved" do
+ it "removes .gem/.gemspec file even if there's no corresponding gem dir" do
gemfile <<-G
source "file://#{gem_repo1}"
diff --git a/spec/other/exec_spec.rb b/spec/other/exec_spec.rb
index b5504249..42d059f1 100644
--- a/spec/other/exec_spec.rb
+++ b/spec/other/exec_spec.rb
@@ -244,6 +244,5 @@ describe "bundle exec" do
expect(out).to eq("1.0")
end
end
-
end
end
diff --git a/spec/other/init_spec.rb b/spec/other/init_spec.rb
index 1c686461..8bd566dc 100644
--- a/spec/other/init_spec.rb
+++ b/spec/other/init_spec.rb
@@ -36,5 +36,4 @@ describe "bundle init" do
expect(gemfile.scan(/gem "rspec", "= 1.2"/).size).to eq(1)
expect(gemfile.scan(/group :development/).size).to eq(1)
end
-
end
diff --git a/spec/other/outdated_spec.rb b/spec/other/outdated_spec.rb
index 54676fcf..15e40f61 100644
--- a/spec/other/outdated_spec.rb
+++ b/spec/other/outdated_spec.rb
@@ -1,7 +1,6 @@
require "spec_helper"
describe "bundle outdated" do
-
before :each do
build_repo2 do
build_git "foo", :path => lib_path("foo")
@@ -114,5 +113,4 @@ describe "bundle outdated" do
end
end
end
-
end