Sha256: 525326764a5c6ad654ae4d9499a767dab9806e57b6259313c2c7dfd2b02088d2

Contents?: true

Size: 956 Bytes

Versions: 6

Compression:

Stored size: 956 Bytes

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment", __FILE__)
require "rspec/rails"
require "factory_girl"

Dir["./spec/support/**/*.rb"].sort.each {|f| require f}

RSpec.configure do |config|
	config.treat_symbols_as_metadata_keys_with_true_values = true
	config.run_all_when_everything_filtered = true
	config.filter_run :focus

	root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
	ActiveRecord::Base.establish_connection(
	  :adapter => 'sqlite3',
	  :database => ':memory:'
	)

	config.include Rails.application.routes.url_helpers
	
	config.order = 'random'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adminpanel-0.1.0cl.2 spec/spec_helper.rb
adminpanel-0.1.0cl spec/spec_helper.rb
adminpanel-0.1.0 spec/spec_helper.rb
adminpanel-0.0.7 spec/spec_helper.rb
adminpanel-0.0.6.1 spec/spec_helper.rb
adminpanel-0.0.6 spec/spec_helper.rb