Sha256: 1d819d1274cd3ce0b068e929115475ec634523102dc8c676cde806d8fbdadaeb

Contents?: true

Size: 1000 Bytes

Versions: 5

Compression:

Stored size: 1000 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

WORKERS = File.join(File.dirname(__FILE__), 'app', 'workers')
$LOAD_PATH.unshift(WORKERS)

unless ENV['CI']
  require 'simplecov'
  SimpleCov.start do
    add_filter '/spec/'
  end
end

require 'rspec'
require 'timecop'

require 'sidekiq/encryptor'

# Autoload every worker for the test suite that sits in spec/app/workers
Dir[File.join(WORKERS, '*.rb')].sort.each do |file|
  name = File.basename(file, '.rb')
  require name
end

RSpec.configure do |config|
  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'
end

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-encryptor-0.2.0 spec/spec_helper.rb
sidekiq-encryptor-0.1.3 spec/spec_helper.rb
sidekiq-encryptor-0.1.2 spec/spec_helper.rb
sidekiq-encryptor-0.1.1 spec/spec_helper.rb
sidekiq-encryptor-0.1.0 spec/spec_helper.rb