Merge pull request #111 from openSUSE/review_140512_fix_test_schema_loading
Maintain schema
This commit is contained in:
commit
253e7800ba
1 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,11 @@ require 'rspec/rails'
|
||||||
# run twice. It is recommended that you do not name files matching this glob to
|
# run twice. It is recommended that you do not name files matching this glob to
|
||||||
# end with _spec.rb. You can configure this pattern with with the --pattern
|
# end with _spec.rb. You can configure this pattern with with the --pattern
|
||||||
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
||||||
|
|
||||||
|
# Checks for pending migrations before tests are run.
|
||||||
|
# If you are not using ActiveRecord, you can remove this line.
|
||||||
|
ActiveRecord::Migration.maintain_test_schema!
|
||||||
|
|
||||||
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue