Sha256: 7bac07b8ac8455df3b6b43fed97e471bcdee66d28032c8d37ffb1842499cf49c
Contents?: true
Size: 746 Bytes
Versions: 10
Compression:
Stored size: 746 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' require 'spec_helper' require 'factory_girl_rails' require 'shoulda-matchers' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f } ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.use_transactional_fixtures = true config.infer_spec_type_from_file_location! config.order = :random config.render_views config.include FactoryGirl::Syntax::Methods config.filter_run :focus config.run_all_when_everything_filtered = true FactoryGirl::SyntaxRunner.send(:include, RSpec::Mocks::ExampleMethods) end
Version data entries
10 entries across 10 versions & 1 rubygems