1
0
Fork 0
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:
Felix Kenton 2014-07-17 19:46:34 +01:00
parent d7cfc17fdb
commit 28da9dadc8

View file

@ -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