mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Check for RSpec::Core before loading RSpec helpers
This commit is contained in:
parent
d7cfc17fdb
commit
28da9dadc8
1 changed files with 1 additions and 1 deletions
|
@ -131,5 +131,5 @@ if defined? Rails
|
|||
else
|
||||
require 'paper_trail/frameworks/active_record'
|
||||
end
|
||||
require 'paper_trail/frameworks/rspec' if defined? RSpec
|
||||
require 'paper_trail/frameworks/rspec' if defined? RSpec::Core
|
||||
require 'paper_trail/frameworks/cucumber' if defined? World
|
||||
|
|
Loading…
Reference in a new issue