spec/rails_helper.rb in gdpr_rails-0.4.0 vs spec/rails_helper.rb in gdpr_rails-0.5.0
- old
+ new
@@ -31,10 +31,10 @@
#
# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
# Checks for pending migrations and applies them before tests are run.
# If you are not using ActiveRecord, you can remove this line.
-ActiveRecord::Migration.maintain_test_schema!
+ActiveRecord::Migration.maintain_test_schema! unless ENV['TRAVIS']
RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"