diff options
Diffstat (limited to 'spec/bundler/bundler/plugin/api_spec.rb')
-rw-r--r-- | spec/bundler/bundler/plugin/api_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/bundler/bundler/plugin/api_spec.rb b/spec/bundler/bundler/plugin/api_spec.rb index e40b9adb0f..58fb908572 100644 --- a/spec/bundler/bundler/plugin/api_spec.rb +++ b/spec/bundler/bundler/plugin/api_spec.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true -require "spec_helper" RSpec.describe Bundler::Plugin::API do context "plugin declarations" do @@ -60,15 +59,15 @@ RSpec.describe Bundler::Plugin::API do # A test of delegation it "provides the Bundler's functions" do - expect(Bundler).to receive(:an_unkown_function).once + expect(Bundler).to receive(:an_unknown_function).once - api.an_unkown_function + api.an_unknown_function end it "includes Bundler::SharedHelpers' functions" do - expect(Bundler::SharedHelpers).to receive(:an_unkown_helper).once + expect(Bundler::SharedHelpers).to receive(:an_unknown_helper).once - api.an_unkown_helper + api.an_unknown_helper end context "#tmp" do |