summaryrefslogtreecommitdiff
path: root/spec/runtime/inline_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/runtime/inline_spec.rb')
-rw-r--r--spec/runtime/inline_spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb
index 3b08e50e64..15f3723693 100644
--- a/spec/runtime/inline_spec.rb
+++ b/spec/runtime/inline_spec.rb
@@ -85,12 +85,14 @@ describe "bundler/inline#gemfile" do
script <<-RUBY, :artifice => "endpoint"
gemfile(true) do
- source "https://rubygems.org"
+ source "https://notaserver.com"
gem "activesupport", :require => true
end
RUBY
expect(out).to include("Installing activesupport")
+ err.gsub! %r{.*lib/sinatra/base\.rb:\d+: warning: constant ::Fixnum is deprecated$}, ""
+ err.strip!
expect(err).to lack_errors
expect(exitstatus).to be_zero if exitstatus
end
@@ -104,7 +106,7 @@ describe "bundler/inline#gemfile" do
end
end
gemfile(true, :ui => MyBundlerUI.new) do
- source "https://rubygems.org"
+ source "https://notaserver.com"
gem "activesupport", :require => true
end
RUBY
@@ -196,7 +198,7 @@ describe "bundler/inline#gemfile" do
it "installs inline gems when a Gemfile.lock is present" do
gemfile <<-G
- source "https://rubygems.org"
+ source "https://notaserver.com"
gem "rake"
G