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 05d4228 commit 7f1d143
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 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" ]
3 changes: 1 addition & 2 deletions lib/lolcommits/plugin/lolsrv.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

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

module Lolcommits
module Plugin
Expand Down
1 change: 0 additions & 1 deletion test/lolcommits/plugin/lolsrv_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::Lolsrv 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/lolsrv"
require "webmock/minitest"
require "minitest/autorun"
require "ostruct"

Expand Down

0 comments on commit 7f1d143

Please sign in to comment.