Sha256: 128580612fb86f41cf2524fc5b7a03c8889e9110f0acb5fe50cb52183e1997ad

Contents?: true

Size: 700 Bytes

Versions: 47

Compression:

Stored size: 700 Bytes

Contents

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

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
load_schema = lambda {
  load "#{Rails.root.to_s}/db/schema.rb" # use db agnostic schema by default
}
silence_stream(STDOUT, &load_schema)


require 'rspec/rails'
require 'rspec/autorun'

Rails.backtrace_cleaner.remove_silencers!

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

RSpec.configure do |config|
  config.mock_with :rspec
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.order = "random"
  config.include Devise::TestHelpers, :type => :controller
  config.include Manage::Engine.routes.url_helpers
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
manage-1.3.52 spec/spec_helper.rb
manage-1.3.51 spec/spec_helper.rb
manage-1.3.50 spec/spec_helper.rb
manage-1.3.49 spec/spec_helper.rb
manage-1.3.48 spec/spec_helper.rb
manage-1.3.47 spec/spec_helper.rb
manage-1.3.46 spec/spec_helper.rb
manage-1.3.45 spec/spec_helper.rb
manage-1.3.44 spec/spec_helper.rb
manage-1.3.43 spec/spec_helper.rb
manage-1.3.42 spec/spec_helper.rb
manage-1.3.40 spec/spec_helper.rb
manage-1.3.39 spec/spec_helper.rb
manage-1.3.38 spec/spec_helper.rb
manage-1.3.37 spec/spec_helper.rb
manage-1.3.36 spec/spec_helper.rb
manage-1.3.34 spec/spec_helper.rb
manage-1.3.33 spec/spec_helper.rb
manage-1.3.32 spec/spec_helper.rb
manage-1.3.31 spec/spec_helper.rb