Sha256: c5ec631d92d573ab45525365a11e94e5a4d7ae3195ad728c45574bbca28c87e6

Contents?: true

Size: 950 Bytes

Versions: 69

Compression:

Stored size: 950 Bytes

Contents

# Configure Rails Envinronment
ENV["RAILS_ENV"] ||= "test"
ENV["RAILS_ENV"] = "#{ ENV["RAILS_ENV"] }_#{ ENV['DB'] }" if ENV['DB']

# Do not check ImageMagick<=>Rmagick versions
RMAGICK_BYPASS_VERSION_TEST = true

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
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

# FIXME orm
ActiveRecord::Migration.verbose = false

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

# Load Factories
require 'factory_girl'
Dir["#{File.dirname(__FILE__)}/factories/*.rb", "#{File.dirname(__FILE__)}/../*/spec/factories/*.rb"].each {|f| require f}

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
social_stream-2.2.2 spec/spec_helper.rb
social_stream-2.2.1 spec/spec_helper.rb
social_stream-2.2.0 spec/spec_helper.rb
social_stream-2.1.1 spec/spec_helper.rb
social_stream-1.1.12 spec/spec_helper.rb
social_stream-2.1.0 spec/spec_helper.rb
social_stream-2.0.4 spec/spec_helper.rb
social_stream-2.0.3 spec/spec_helper.rb
social_stream-1.1.11 spec/spec_helper.rb
social_stream-1.1.10 spec/spec_helper.rb
social_stream-1.1.9 spec/spec_helper.rb
social_stream-1.1.8 spec/spec_helper.rb
social_stream-2.0.2 spec/spec_helper.rb
social_stream-2.0.1 spec/spec_helper.rb
social_stream-2.0.0 spec/spec_helper.rb
social_stream-2.0.0.beta3 spec/spec_helper.rb
social_stream-2.0.0.beta2 spec/spec_helper.rb
social_stream-2.0.0.beta1 spec/spec_helper.rb
social_stream-1.1.7 spec/spec_helper.rb
social_stream-1.1.6 spec/spec_helper.rb