diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-01-15 12:57:54 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-01-15 12:57:54 -0600 |
commit | c3320f3593b7a33bc2704f82aa711bba4d14cd43 (patch) | |
tree | 7aa6701c303b2e10b9a9db75cc830e0e393d867e /spec/other/ext_spec.rb | |
parent | b151dcdfe72b23183a916874389d725fe40e1dc5 (diff) | |
download | bundler-c3320f3593b7a33bc2704f82aa711bba4d14cd43.tar.gz |
Disable RSpec monkey patching
Diffstat (limited to 'spec/other/ext_spec.rb')
-rw-r--r-- | spec/other/ext_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb index 7e2e7128..9aed37ad 100644 --- a/spec/other/ext_spec.rb +++ b/spec/other/ext_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "Gem::Specification#match_platform" do +RSpec.describe "Gem::Specification#match_platform" do it "does not match platforms other than the gem platform" do darwin = gem "lol", "1.0", "platform_specific-1.0-x86-darwin-10" expect(darwin.match_platform(pl("java"))).to eq(false) @@ -16,7 +16,7 @@ describe "Gem::Specification#match_platform" do end end -describe "Bundler::GemHelpers#generic" do +RSpec.describe "Bundler::GemHelpers#generic" do include Bundler::GemHelpers it "converts non-windows platforms into ruby" do @@ -47,7 +47,7 @@ describe "Bundler::GemHelpers#generic" do end end -describe "Gem::SourceIndex#refresh!" do +RSpec.describe "Gem::SourceIndex#refresh!" do rubygems_1_7 = Gem::Version.new(Gem::VERSION) >= Gem::Version.new("1.7.0") before do |