Sha256: dcb5cbd74f6f02726d7fa26aa14f776a6e0f6576c3c19f78c7f17c73dbe28d55

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

# encoding: utf-8
unless ENV['CI']
  require 'simplecov'
  SimpleCov.start do
    add_filter '.bundle'
    add_filter 'spec/dummy'
    add_group 'Bower', 'lib/bower'
    add_group 'Specs', 'spec'
  end
end

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'bower'
require 'rspec/rails'
require 'rspec/autorun'
require 'capybara/rspec'

require 'generator_spec/test_case'
require 'active_support'
require 'active_support/core_ext/class/attribute_accessors'

# For generators
require "rails/generators/test_case"
require "generators/bower/install_generator"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.fixture_path = File.join(File.dirname(__FILE__), 'fixtures')
  config.mock_with :rspec
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bower-0.0.2 spec/spec_helper.rb
bower-0.0.1 spec/spec_helper.rb