Skip to content

Commit

Permalink
Fixed problem with 'with_model' gem in DataMapper tests and Mongoid t…
Browse files Browse the repository at this point in the history
…ests.
  • Loading branch information
moffff committed Nov 9, 2011
1 parent 9eebeb2 commit f18f53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
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 f18f53c

Please sign in to comment.