Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for RSpec::Core before loading RSpec helpers #398

Merged
merged 1 commit into from
Jul 18, 2014

Conversation

robotfelix
Copy link
Contributor

paper_trail currently breaks during initialisation whenever rspec-mocks is used with another test framework (eg: Minitest).

This is a minor tweak so that paper_trail checks that the RSpec::Core module is defined before trying to load the RSpec test helpers (RSpec::Core will be defined if either the rspec gem or it's dependency rspec-core is loaded).

@batter batter merged commit 28da9da into paper-trail-gem:master Jul 18, 2014
batter added a commit that referenced this pull request Jul 18, 2014
@batter
Copy link
Collaborator

batter commented Jul 18, 2014

Cheers!

@robotfelix
Copy link
Contributor Author

No problem - great work Ben! :)

@robotfelix robotfelix deleted the fix-rspec-mocks-issue branch August 28, 2014 08:44
batter added a commit that referenced this pull request Aug 29, 2014
@batter batter added this to the 3.0.5 milestone Sep 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants