Sha256: 5deaf3345060c8f4f82f97c6bcb1e4bab4deca8da9245bb38ddf98e64aec3821

Contents?: true

Size: 1.53 KB

Versions: 6

Compression:

Stored size: 1.53 KB

Contents

require 'bundler/setup'
Bundler.setup

require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter
]

SimpleCov.start do
  add_filter 'spec'
  add_filter 'vendor'
end

require 'pry'

require 'riveter'
require 'riveter/spec_helper'

# NB: sync these requires from the Railtie
require 'riveter/form_builder_extensions'
require 'riveter/command_routes'
require 'riveter/enquiry_routes'

# require 'rails/all'

# require 'active_record/railtie'
require 'action_controller/railtie'
require 'action_view/railtie'
# require 'action_mailer/railtie'
# require 'active_job/railtie'
# require 'rails/test_unit/railtie'
# require 'sprockets/railtie'
require 'rails/generators'

require 'haml'

require 'shoulda/matchers'
require 'ammeter/init'

require 'fileutils'

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

# configure Rspec
RSpec.configure do |config|

  config.expect_with :rspec do |c|
    c.syntax = [:should, :expect]
  end

  config.mock_with :rspec do |c|
    c.syntax = :expect
  end

  # config.order = :random
  config.fail_fast = (ENV["FAIL_FAST"] == 1)

end

# require examples, must happen after configure for RSpec 3
Dir[File.expand_path("../examples/**/*.rb", __FILE__)].each {|f| require f }

# I18n.enforce_available_locales will default to true in the future.
I18n.enforce_available_locales = true if I18n.respond_to?(:enforce_available_locales)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
riveter-0.8.3 spec/spec_helper.rb
riveter-0.8.2 spec/spec_helper.rb
riveter-0.8.1 spec/spec_helper.rb
riveter-0.8.0 spec/spec_helper.rb
riveter-0.7.0 spec/spec_helper.rb
riveter-0.6.0 spec/spec_helper.rb