Sha256: a035975a1c7717732322b8bd5f13bebbdd6afa1ab53573a2c8b10fe2264bf6e0

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

ENV["RAILS_ENV"] = "test"
require "rails_app/config/environment"
require "rails/test_help"
require "minitest/autorun"
require "capybara/rails"
require "active_support/testing/setup_and_teardown"
require 'factory_girl_rails' 

class IntegrationTest < MiniTest::Spec
  include Rails.application.routes.url_helpers
  include Capybara::DSL
  include Factory::Syntax::Methods
  include Devise::TestHelpers
  include Warden::Test::Helpers
  Warden.test_mode!
  register_spec_type(/integration$/, self)
end

class HelperTest < MiniTest::Spec
  include ActiveSupport::Testing::SetupAndTeardown
  include ActionView::TestCase::Behavior
  include Factory::Syntax::Methods
  include Devise::TestHelpers
  include Warden::Test::Helpers
  Warden.test_mode!
  register_spec_type(/Helper$/, self)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 test/minitest_helper.rb