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

Merged
merged 1 commit into from May 11, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

View
@@ -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