Sha256: 7e92b190ceed601bf827fc6aaf0da39db6119fcab0c3802b0e9b20b0dc4e1dc4

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 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

  FactoryGirl::SyntaxRunner.send(:include, RSpec::Mocks::ExampleMethods)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
punto_pagos_rails-0.1.0 spec/rails_helper.rb
punto_pagos_rails-0.0.2 spec/rails_helper.rb