You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.
# work around tasks already_invoked flag being set
Rake::Task['ingest'].reenable
Rake::Task['solr:marc:index'].reenable
Rake::Task['solr:marc:index:work'].reenable
Rake::Task['ingest'].invoke(test_set)
end
Expected behavior
Seed only what is required to test. Use initializer specific to the test at hand. Keep the tests really fast to run.
Additional context
Maybe move the smoke test to a travis script? There is also a tangle in blacklight_helper.rb, spec_helper.rb and rails_helper.rb to require code that could be cleaner and more selective.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using ingest to seed the tests
To Reproduce
bundle exec rake spec
discovery/spec/rails_helper.rb
Lines 47 to 58 in 1b1904c
Expected behavior
Seed only what is required to test. Use initializer specific to the test at hand. Keep the tests really fast to run.
Additional context
Maybe move the smoke test to a travis script? There is also a tangle in
blacklight_helper.rb
,spec_helper.rb
andrails_helper.rb
to require code that could be cleaner and more selective.The text was updated successfully, but these errors were encountered: