Skip to content

Commit

Permalink
Merge pull request ryanb#509 from moffff/master
Browse files Browse the repository at this point in the history
Fix 'spec/spec_helper.rb:20: uninitialized constant WithModel (NameError)'
  • Loading branch information
ryanb committed May 11, 2012
2 parents 7f4f469 + f18f53c commit 1cdd7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1cdd7b3

Please sign in to comment.