Skip to content
Browse files

Merge pull request #509 from moffff/master

Fix 'spec/spec_helper.rb:20: uninitialized constant WithModel (NameError)'
  • Loading branch information...
2 parents 7f4f469 + f18f53c commit 1cdd7b3c18f2ce99b97eb81e4db114b1fc90b066 @ryanb committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
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

0 comments on commit 1cdd7b3

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