Sha256: 62306b7ae2ba229aacbebc89bc3b47191f9418a71d5e6135debb551c43f7e078
Contents?: true
Size: 946 Bytes
Versions: 2
Compression:
Stored size: 946 Bytes
Contents
ENV["RAILS_ENV"] = "test" require File.expand_path("../../test/dummy/config/environment.rb", __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)] #ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__) require "rails/test_help" require "minitest/rails" # To add Capybara feature tests add `gem "minitest-rails-capybara"` # to the test group in the Gemfile and uncomment the following: # require "minitest/rails/capybara" # Uncomment for awesome colorful output require 'minitest/pride' # Require PushType testing setup require 'push_type/testing/setup' require 'push_type/testing/factories' # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } DatabaseCleaner.strategy = :deletion class Minitest::Spec before :each do DatabaseCleaner.start end after :each do DatabaseCleaner.clean end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
push_type_core-0.5.1 | test/test_helper.rb |
push_type_core-0.5.0 | test/test_helper.rb |