Skip to content

Commit

Permalink
Check for RSpec::Core before loading RSpec helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
robotfelix committed Jul 17, 2014
1 parent d7cfc17 commit 28da9da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paper_trail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ def self.configure
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

0 comments on commit 28da9da

Please sign in to comment.