Skip to content
Browse files

Check to see if the module we're actually working with is loaded (in …

…case only pieces of ActiveRecord are loaded).
  • Loading branch information...
1 parent 402996e commit 08ed00a4def501ad80a21da0879b21653a88cc52 @jasonmk jasonmk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/rails/fixture_support.rb
2 lib/rspec/rails/fixture_support.rb
@@ -1,6 +1,6 @@
module RSpec
module Rails
- if defined?(ActiveRecord)
+ if defined?(ActiveRecord::TestFixtures)
module FixtureSupport
extend ActiveSupport::Concern

0 comments on commit 08ed00a

Please sign in to comment.
Something went wrong with that request. Please try again.