diff --git a/Rakefile b/Rakefile index 7abdb1c..a95df81 100644 --- a/Rakefile +++ b/Rakefile @@ -18,4 +18,4 @@ Rake::TestTask.new(:test) do |t| t.test_files = FileList["test/**/*_test.rb"] end -task default: [ 'test' ] +task default: [ "test" ] diff --git a/lib/lolcommits/plugin/uploldz.rb b/lib/lolcommits/plugin/uploldz.rb index 42474e4..f8e8f4f 100644 --- a/lib/lolcommits/plugin/uploldz.rb +++ b/lib/lolcommits/plugin/uploldz.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "rest_client" +require "rest-client" require "base64" require "lolcommits/plugin/base" diff --git a/test/lolcommits/plugin/uploldz_test.rb b/test/lolcommits/plugin/uploldz_test.rb index 44f7f72..9662432 100644 --- a/test/lolcommits/plugin/uploldz_test.rb +++ b/test/lolcommits/plugin/uploldz_test.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true require "test_helper" -require "webmock/minitest" describe Lolcommits::Plugin::Uploldz do include Lolcommits::TestHelpers::GitRepo diff --git a/test/test_helper.rb b/test/test_helper.rb index dcc922e..3c7c6a4 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -11,6 +11,7 @@ # plugin gem test libs require "lolcommits/uploldz" +require "webmock/minitest" require "minitest/autorun" # swallow all debug output during test runs