Merge pull request #509 from moffff/master

Fix 'spec/spec_helper.rb:20: uninitialized constant WithModel (NameError)'
This commit is contained in:
Ryan Bates 2012-05-11 08:59:41 -07:00
commit 1cdd7b3c18

View File

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