diff options
author | Cristian Bica <cristian.bica@gmail.com> | 2014-08-05 09:05:14 +0300 |
---|---|---|
committer | Cristian Bica <cristian.bica@gmail.com> | 2014-08-08 10:52:16 +0300 |
commit | 664546c208c406bba08b8eda2e6a600154d7232e (patch) | |
tree | 5a4c62c14e115ff4ee05212664bb2ff5b8595c38 /test/support/integration/helper.rb | |
parent | 06ccd5f405a004275915102eb3ccc42b952ba549 (diff) | |
download | rails-664546c208c406bba08b8eda2e6a600154d7232e.tar.gz rails-664546c208c406bba08b8eda2e6a600154d7232e.tar.bz2 rails-664546c208c406bba08b8eda2e6a600154d7232e.zip |
Integration testing
Diffstat (limited to 'test/support/integration/helper.rb')
-rw-r--r-- | test/support/integration/helper.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/support/integration/helper.rb b/test/support/integration/helper.rb new file mode 100644 index 0000000000..cb94e7cfb5 --- /dev/null +++ b/test/support/integration/helper.rb @@ -0,0 +1,12 @@ +ENV["RAILS_ENV"] = "test" +require File.expand_path("../../../dummy/config/environment.rb", __FILE__) +require "rails/test_help" +Rails.backtrace_cleaner.remove_silencers! + +require_relative 'test_case_helpers' +ActiveSupport::TestCase.send(:include, TestCaseHelpers) + +JobsManager.current_manager.setup +JobsManager.current_manager.start_workers +Minitest.after_run { JobsManager.current_manager.stop_workers } + |