Sha256: 03ad2e404fca38b491f50c999eaf6ec2b72fc39c8f690f011f1fa8b20bd8e71c

Contents?: true

Size: 829 Bytes

Versions: 11

Compression:

Stored size: 829 Bytes

Contents

ENV["RAILS_ENV"] ||= "test"

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

require "simplecov"
SimpleCov.minimum_coverage 84
SimpleCov.start "rails"

Capybara.javascript_driver = :poltergeist

Rails.backtrace_cleaner.remove_silencers!

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

RSpec.configure do |config|
  config.mock_with :rspec
  config.fixture_path = "#{ File.dirname(__FILE__) }/fixtures"
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.order = "random"
  config.include Rails.application.routes.url_helpers

  # Include our own helpers
  config.include Controllers::JsonHelpers, type: :controller
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
social_networking-0.11.8 spec/spec_helper.rb
social_networking-0.11.7 spec/spec_helper.rb
social_networking-0.11.6 spec/spec_helper.rb
social_networking-0.11.5 spec/spec_helper.rb
social_networking-0.11.4 spec/spec_helper.rb
social_networking-0.11.3 spec/spec_helper.rb
social_networking-0.11.2 spec/spec_helper.rb
social_networking-0.11.1 spec/spec_helper.rb
social_networking-0.11.0 spec/spec_helper.rb
social_networking-0.10.0 spec/spec_helper.rb
social_networking-0.9.3 spec/spec_helper.rb