Sha256: 4eca9e19123b242acb6168964e64d90690e01a84fb1be64547b7a017b6adab4c

Contents?: true

Size: 843 Bytes

Versions: 45

Compression:

Stored size: 843 Bytes

Contents

# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"

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

ActionMailer::Base.delivery_method = :test
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.default_url_options[:host] = "test.com"

Rails.backtrace_cleaner.remove_silencers!

# Configure capybara for integration testing
require "capybara/rails"
Capybara.default_driver   = :rack_test
Capybara.default_selector = :css

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

Rspec.configure do |config|
  # Remove this line if you don't want Rspec's should and should_not
  # methods or matchers
  require 'rspec/expectations'
  config.include Rspec::Matchers

  # == Mock Framework
  config.mock_with :rspec
end

Version data entries

45 entries across 45 versions & 4 rubygems

Version Path
noodall-form-builder-0.4.2 spec/spec_helper.rb
noodall-form-builder-0.4.1 spec/spec_helper.rb
noodall-form-builder-0.4.0 spec/spec_helper.rb
noodall-form-builder-0.3.3 spec/spec_helper.rb
noodall-form-builder-0.2.11 spec/spec_helper.rb
noodall-form-builder-0.3.2 spec/spec_helper.rb
noodall-form-builder-0.3.1 spec/spec_helper.rb
noodall-form-builder-0.3.0 spec/spec_helper.rb
noodall-form-builder-0.2.10 spec/spec_helper.rb
noodall-form-builder-0.2.9 spec/spec_helper.rb
noodall-form-builder-0.2.8 spec/spec_helper.rb
noodall-form-builder-0.2.7 spec/spec_helper.rb
noodall-form-builder-0.2.5 spec/spec_helper.rb
noodall-form-builder-0.2.4 spec/spec_helper.rb
noodall-form-builder-0.2.3 spec/spec_helper.rb
noodall-form-builder-0.2.2 spec/spec_helper.rb
noodall-form-builder-0.2.1 spec/spec_helper.rb
noodall-form-builder-0.2.0 spec/spec_helper.rb
noodall-form-builder-0.1.3 spec/spec_helper.rb
noodall-form-builder-0.1.2 spec/spec_helper.rb