Sha256: 5fc67b0f3710632a1b334713870a7ae9aeaf41cbd617b61c641dc62018cb0dbd

Contents?: true

Size: 812 Bytes

Versions: 9

Compression:

Stored size: 812 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
require 'minitest/autorun'
require 'capybara/rails'
require 'mocha/integration/mini_test'

Rails.backtrace_cleaner.remove_silencers!

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

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

Capybara.javascript_driver = :webkit

class IntegrationTest < MiniTest::Spec
  include Capybara::DSL

  after do
    Capybara.reset_sessions!
    Capybara.use_default_driver
  end
end

MiniTest::Spec.register_spec_type(/integration$/, IntegrationTest)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
paginated_table-0.0.9 test/test_helper.rb
paginated_table-0.0.8 test/test_helper.rb
paginated_table-0.0.7 test/test_helper.rb
paginated_table-0.0.6 test/test_helper.rb
paginated_table-0.0.5 test/test_helper.rb
paginated_table-0.0.4 test/test_helper.rb
paginated_table-0.0.3 test/test_helper.rb
paginated_table-0.0.2 test/test_helper.rb
paginated_table-0.0.1 test/test_helper.rb