Skip to content
Snippets Groups Projects
Commit 1cdd7b3c authored by Ryan Bates's avatar Ryan Bates
Browse files

Merge pull request #509 from moffff/master

Fix 'spec/spec_helper.rb:20: uninitialized constant WithModel (NameError)'
parents 7f4f469e f18f53c9
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ RSpec.configure do |config|
Project.delete_all
Category.delete_all
end
config.extend WithModel
config.extend WithModel if ENV["MODEL_ADAPTER"].nil? || ENV["MODEL_ADAPTER"] == "active_record"
end
class Ability
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment