Skip to content

Fix 'spec/spec_helper.rb:20: uninitialized constant WithModel (NameError)' #509

Merged
merged 1 commit into from May 11, 2012
View
2 spec/spec_helper.rb
@@ -17,7 +17,7 @@
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
Something went wrong with that request. Please try again.