diff options
author | Samy KACIMI <samy.kacimi@gmail.com> | 2017-04-05 00:29:56 +0200 |
---|---|---|
committer | Samy KACIMI <samy.kacimi@gmail.com> | 2017-04-05 00:29:56 +0200 |
commit | 81c76fe375d9342e5a436db05c8e25305c650e8d (patch) | |
tree | 9d81c36f8745de3d5ab8827a82a14be369f0d23e /spec/rails_helper.rb | |
parent | 6fd865c0004efbf11ee87c06fea9f48af567fabe (diff) |
add more tests to models
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r-- | spec/rails_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 977c7bdc0..faac96982 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -8,6 +8,8 @@ require 'rspec/rails' require 'webmock/rspec' require 'paperclip/matchers' +Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } + ActiveRecord::Migration.maintain_test_schema! WebMock.disable_net_connect!(allow: 'localhost:7575') Sidekiq::Testing.inline! |