Sha256: f18459af00e28c92d7bc0aacf41ab6c0af84575ae7393cb0913bc726224af7ac

Contents?: true

Size: 586 Bytes

Versions: 7

Compression:

Stored size: 586 Bytes

Contents

require File.expand_path('../features/session_helpers', __FILE__)
require File.expand_path('../features/fixture_file_upload', __FILE__)

RSpec.configure do |config|
  config.include Warden::Test::Helpers, type: :feature
  config.include Features::SessionHelpers, type: :feature
  config.include Features::FixtureFileUpload
  
  config.before(:each, type: :feature) do
    Warden.test_mode!
    @old_resque_inline_value = Resque.inline
    Resque.inline = true
  end

  config.after(:each, type: :feature) do
    Warden.test_reset!
    Resque.inline = @old_resque_inline_value
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
curation_concerns-0.1.0 spec/support/features.rb
worthwhile-0.1.2 spec/support/features.rb
worthwhile-0.1.1 spec/support/features.rb
worthwhile-0.1.0 spec/support/features.rb
worthwhile-0.0.3 spec/support/features.rb
worthwhile-0.0.2 spec/support/features.rb
worthwhile-0.0.1 spec/support/features.rb