diff options
author | Tad Hosford <tad.hosford@gmail.com> | 2013-06-25 13:15:05 -0500 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-06-27 11:09:04 -0700 |
commit | 82e660a715a051e4b3d2180e08db39fdd25b6e69 (patch) | |
tree | 3ea53e5b445df51785ea3d949e166d96ff8fb746 | |
parent | ddd2c83e24863c10b0094941cc0070737864e613 (diff) | |
download | bundler-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
-rw-r--r-- | spec/other/binstubs_spec.rb | 6 | ||||
-rw-r--r-- | spec/other/bundle_ruby_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/check_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/clean_spec.rb | 4 | ||||
-rw-r--r-- | spec/other/exec_spec.rb | 1 | ||||
-rw-r--r-- | spec/other/init_spec.rb | 1 | ||||
-rw-r--r-- | spec/other/outdated_spec.rb | 2 |
7 files changed, 7 insertions, 11 deletions
diff --git a/spec/other/binstubs_spec.rb b/spec/other/binstubs_spec.rb index f5e1347a39..9237a8d3d5 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 164a23c6ae..5bb563a74f 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 5f36fa26fe..248b5c2eed 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 393902ba08..cee1312a5f 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 b5504249cc..42d059f1d7 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 1c686461e6..8bd566dcf5 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 54676fcf0e..15e40f61fc 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 |