Update RSpec gems
This commit is contained in:
parent
3c60e030b5
commit
c925a2ee91
@ -12,7 +12,10 @@ RSpec.describe Bundler::GemInstaller do
|
|||||||
|
|
||||||
context "spec_settings is nil" do
|
context "spec_settings is nil" do
|
||||||
it "invokes install method with empty build_args" do
|
it "invokes install method with empty build_args" do
|
||||||
allow(spec_source).to receive(:install).with(spec, :force => false, :ensure_builtin_gems_cached => false, :build_args => [], :previous_spec => nil)
|
allow(spec_source).to receive(:install).with(
|
||||||
|
spec,
|
||||||
|
{ :force => false, :ensure_builtin_gems_cached => false, :build_args => [], :previous_spec => nil }
|
||||||
|
)
|
||||||
subject.install_from_spec
|
subject.install_from_spec
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -23,7 +26,10 @@ RSpec.describe Bundler::GemInstaller do
|
|||||||
allow(Bundler.settings).to receive(:[]).with(:inline)
|
allow(Bundler.settings).to receive(:[]).with(:inline)
|
||||||
allow(Bundler.settings).to receive(:[]).with(:forget_cli_options)
|
allow(Bundler.settings).to receive(:[]).with(:forget_cli_options)
|
||||||
allow(Bundler.settings).to receive(:[]).with("build.dummy").and_return("--with-dummy-config=dummy")
|
allow(Bundler.settings).to receive(:[]).with("build.dummy").and_return("--with-dummy-config=dummy")
|
||||||
expect(spec_source).to receive(:install).with(spec, :force => false, :ensure_builtin_gems_cached => false, :build_args => ["--with-dummy-config=dummy"], :previous_spec => nil)
|
expect(spec_source).to receive(:install).with(
|
||||||
|
spec,
|
||||||
|
{ :force => false, :ensure_builtin_gems_cached => false, :build_args => ["--with-dummy-config=dummy"], :previous_spec => nil }
|
||||||
|
)
|
||||||
subject.install_from_spec
|
subject.install_from_spec
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -36,10 +42,7 @@ RSpec.describe Bundler::GemInstaller do
|
|||||||
allow(Bundler.settings).to receive(:[]).with("build.dummy").and_return("--with-dummy-config=dummy --with-another-dummy-config")
|
allow(Bundler.settings).to receive(:[]).with("build.dummy").and_return("--with-dummy-config=dummy --with-another-dummy-config")
|
||||||
expect(spec_source).to receive(:install).with(
|
expect(spec_source).to receive(:install).with(
|
||||||
spec,
|
spec,
|
||||||
:force => false,
|
{ :force => false, :ensure_builtin_gems_cached => false, :build_args => ["--with-dummy-config=dummy", "--with-another-dummy-config"], :previous_spec => nil }
|
||||||
:ensure_builtin_gems_cached => false,
|
|
||||||
:build_args => ["--with-dummy-config=dummy", "--with-another-dummy-config"],
|
|
||||||
:previous_spec => nil
|
|
||||||
)
|
)
|
||||||
subject.install_from_spec
|
subject.install_from_spec
|
||||||
end
|
end
|
||||||
|
@ -9,9 +9,9 @@ gem "rake", "~> 13.0"
|
|||||||
gem "webrick", "~> 1.6"
|
gem "webrick", "~> 1.6"
|
||||||
gem "parallel_tests", "~> 2.29"
|
gem "parallel_tests", "~> 2.29"
|
||||||
gem "parallel", "1.19.2" # 1.20+ is required > Ruby 2.3
|
gem "parallel", "1.19.2" # 1.20+ is required > Ruby 2.3
|
||||||
gem "rspec-core", "~> 3.8"
|
gem "rspec-core", "~> 3.12"
|
||||||
gem "rspec-expectations", "~> 3.8"
|
gem "rspec-expectations", "~> 3.12"
|
||||||
gem "rspec-mocks", "~> 3.11.1"
|
gem "rspec-mocks", "~> 3.12"
|
||||||
gem "uri", "~> 0.10.1"
|
gem "uri", "~> 0.10.1"
|
||||||
|
|
||||||
group :doc do
|
group :doc do
|
||||||
|
@ -3,6 +3,7 @@ GEM
|
|||||||
specs:
|
specs:
|
||||||
diff-lcs (1.5.0)
|
diff-lcs (1.5.0)
|
||||||
hpricot (0.8.6)
|
hpricot (0.8.6)
|
||||||
|
hpricot (0.8.6-java)
|
||||||
mustache (1.1.1)
|
mustache (1.1.1)
|
||||||
parallel (1.19.2)
|
parallel (1.19.2)
|
||||||
parallel_tests (2.32.0)
|
parallel_tests (2.32.0)
|
||||||
@ -15,15 +16,15 @@ GEM
|
|||||||
hpricot (>= 0.8.2)
|
hpricot (>= 0.8.2)
|
||||||
mustache (>= 0.7.0)
|
mustache (>= 0.7.0)
|
||||||
rdiscount (>= 1.5.8)
|
rdiscount (>= 1.5.8)
|
||||||
rspec-core (3.11.0)
|
rspec-core (3.12.0)
|
||||||
rspec-support (~> 3.11.0)
|
rspec-support (~> 3.12.0)
|
||||||
rspec-expectations (3.11.0)
|
rspec-expectations (3.12.0)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.11.0)
|
rspec-support (~> 3.12.0)
|
||||||
rspec-mocks (3.11.1)
|
rspec-mocks (3.12.0)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.11.0)
|
rspec-support (~> 3.12.0)
|
||||||
rspec-support (3.11.0)
|
rspec-support (3.12.0)
|
||||||
test-unit (3.5.3)
|
test-unit (3.5.3)
|
||||||
power_assert
|
power_assert
|
||||||
uri (0.10.1)
|
uri (0.10.1)
|
||||||
@ -45,9 +46,9 @@ DEPENDENCIES
|
|||||||
rake (~> 13.0)
|
rake (~> 13.0)
|
||||||
rdoc (= 6.2.0)
|
rdoc (= 6.2.0)
|
||||||
ronn (~> 0.7.3)
|
ronn (~> 0.7.3)
|
||||||
rspec-core (~> 3.8)
|
rspec-core (~> 3.12)
|
||||||
rspec-expectations (~> 3.8)
|
rspec-expectations (~> 3.12)
|
||||||
rspec-mocks (~> 3.11.1)
|
rspec-mocks (~> 3.12)
|
||||||
test-unit (~> 3.0)
|
test-unit (~> 3.0)
|
||||||
uri (~> 0.10.1)
|
uri (~> 0.10.1)
|
||||||
webrick (~> 1.6)
|
webrick (~> 1.6)
|
||||||
|
@ -18,12 +18,12 @@ GEM
|
|||||||
rspec-core (~> 3.10.0)
|
rspec-core (~> 3.10.0)
|
||||||
rspec-expectations (~> 3.10.0)
|
rspec-expectations (~> 3.10.0)
|
||||||
rspec-mocks (~> 3.10.0)
|
rspec-mocks (~> 3.10.0)
|
||||||
rspec-core (3.10.1)
|
rspec-core (3.10.2)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-expectations (3.10.1)
|
rspec-expectations (3.10.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-mocks (3.10.2)
|
rspec-mocks (3.10.3)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-support (3.10.3)
|
rspec-support (3.10.3)
|
||||||
|
@ -18,12 +18,12 @@ GEM
|
|||||||
rspec-core (~> 3.10.0)
|
rspec-core (~> 3.10.0)
|
||||||
rspec-expectations (~> 3.10.0)
|
rspec-expectations (~> 3.10.0)
|
||||||
rspec-mocks (~> 3.10.0)
|
rspec-mocks (~> 3.10.0)
|
||||||
rspec-core (3.10.1)
|
rspec-core (3.10.2)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-expectations (3.10.1)
|
rspec-expectations (3.10.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-mocks (3.10.2)
|
rspec-mocks (3.10.3)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.10.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-support (3.10.3)
|
rspec-support (3.10.3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user