Merge pull request #509 from moffff/master
Fix 'spec/spec_helper.rb:20: uninitialized constant WithModel (NameError)'
This commit is contained in:
commit
1cdd7b3c18
|
@ -17,7 +17,7 @@ RSpec.configure do |config|
|
||||||
Project.delete_all
|
Project.delete_all
|
||||||
Category.delete_all
|
Category.delete_all
|
||||||
end
|
end
|
||||||
config.extend WithModel
|
config.extend WithModel if ENV["MODEL_ADAPTER"].nil? || ENV["MODEL_ADAPTER"] == "active_record"
|
||||||
end
|
end
|
||||||
|
|
||||||
class Ability
|
class Ability
|
||||||
|
|
Loading…
Reference in New Issue
Block a user