Skip to content

Commit

Permalink
test: Configure RSpec to run sans monkeypatches
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Jan 13, 2022
1 parent 5188b45 commit 9fd221d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--format documentation
--color
--require spec_helper
4 changes: 1 addition & 3 deletions spec/lograge/sql_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

require 'spec_helper'

describe Lograge::Sql do
RSpec.describe Lograge::Sql do
let(:subscriber) do
if defined?(Lograge::RequestLogSubscriber)
Lograge::RequestLogSubscriber
Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
require 'delegate'
require 'lograge'
require 'lograge/sql'

RSpec.configure do |config|
config.disable_monkey_patching!
end

0 comments on commit 9fd221d

Please sign in to comment.