Skip to content

Commit

Permalink
fix rest client require
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Dec 29, 2024
1 parent 5c93872 commit f5054e9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Rake::TestTask.new(:test) do |t|
t.test_files = FileList["test/**/*_test.rb"]
end

task default: [ 'test' ]
task default: [ "test" ]
2 changes: 1 addition & 1 deletion lib/lolcommits/plugin/uploldz.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "rest_client"
require "rest-client"
require "base64"
require "lolcommits/plugin/base"

Expand Down
1 change: 0 additions & 1 deletion test/lolcommits/plugin/uploldz_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require "test_helper"
require "webmock/minitest"

describe Lolcommits::Plugin::Uploldz do
include Lolcommits::TestHelpers::GitRepo
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

# plugin gem test libs
require "lolcommits/uploldz"
require "webmock/minitest"
require "minitest/autorun"

# swallow all debug output during test runs
Expand Down

0 comments on commit f5054e9

Please sign in to comment.