Require `Sidekiq::Testing` in rails helper.
This commit is contained in:
parent
86f11955cf
commit
7cf0f39066
|
@ -1,7 +1,6 @@
|
|||
# encoding: UTF-8
|
||||
|
||||
require 'rails_helper'
|
||||
require 'sidekiq/testing'
|
||||
|
||||
describe Topic do
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require "sidekiq/testing"
|
||||
require 'rails_helper'
|
||||
require_dependency 'jobs/base'
|
||||
|
||||
|
@ -123,4 +122,3 @@ describe Jobs do
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require "rails_helper"
|
||||
require 'sidekiq/testing'
|
||||
|
||||
describe DiscourseSingleSignOn do
|
||||
before do
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'rails_helper'
|
||||
require 'sidekiq/testing'
|
||||
|
||||
describe WebHook do
|
||||
it { is_expected.to validate_presence_of :payload_url }
|
||||
|
|
|
@ -25,6 +25,7 @@ Spork.prefork do
|
|||
require File.expand_path("../../config/environment", __FILE__)
|
||||
require 'rspec/rails'
|
||||
require 'shoulda'
|
||||
require 'sidekiq/testing'
|
||||
|
||||
# Requires supporting ruby files with custom matchers and macros, etc,
|
||||
# in spec/support/ and its subdirectories.
|
||||
|
|
Loading…
Reference in New Issue