зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Bundler: avoid use of "can not" in spec literals
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/73b5cf9bd1
This commit is contained in:
Родитель
22a416a3bb
Коммит
7c784f0a67
|
@ -42,7 +42,7 @@ RSpec.describe "bundle init" do
|
|||
context "when the dir is not writable by the current user" do
|
||||
let(:subdir) { "child_dir" }
|
||||
|
||||
it "notifies the user that it can not write to it" do
|
||||
it "notifies the user that it cannot write to it" do
|
||||
FileUtils.mkdir bundled_app(subdir)
|
||||
# chmod a-w it
|
||||
mode = File.stat(bundled_app(subdir)).mode ^ 0o222
|
||||
|
|
|
@ -522,7 +522,7 @@ RSpec.describe "bundle remove" do
|
|||
end
|
||||
end
|
||||
|
||||
context "when gems can not be removed from other gemfile" do
|
||||
context "when gems cannot be removed from other gemfile" do
|
||||
it "shows error" do
|
||||
create_file "Gemfile-other", <<-G
|
||||
gem "rails"; gem "rack"
|
||||
|
@ -574,7 +574,7 @@ RSpec.describe "bundle remove" do
|
|||
end
|
||||
|
||||
context "when gem present in gemfiles but could not be removed from one from one of them" do
|
||||
it "removes gem which can be removed and shows warning for file from which it can not be removed" do
|
||||
it "removes gem which can be removed and shows warning for file from which it cannot be removed" do
|
||||
create_file "Gemfile-other", <<-G
|
||||
gem "rack"
|
||||
G
|
||||
|
|
Загрузка…
Ссылка в новой задаче