Sha256: 14ff9bb2cc10086c08b948ba3a31eba4be80f0f88eca93d59290f23dbc647095

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

require 'coveralls'
Coveralls.wear!

require File.expand_path('../../spec/dummy/config/environment', __FILE__)

require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'sprockets/railtie'
require 'rails/test_unit/railtie'
require 'capybara/rspec'
require 'capybara/rails'

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|

  config.include Capybara::DSL
  config.include Rails.application.routes.url_helpers

  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # 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'

  config.after(:all) do
    FileUtils.rm_rf(Dir["#{Rails.root}/public/uploads/test/light_resizer"])
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
light_resizer-0.2.0 spec/spec_helper.rb