Sha256: e6907c66a9957c11dc9c08b1a6adada8f3d80f33178f80f2e7375d9f6be93b6f

Contents?: true

Size: 791 Bytes

Versions: 4

Compression:

Stored size: 791 Bytes

Contents

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

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
require "capybara/rails"

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

class Test::Unit::TestCase
  # Seiten.config[:storage_type]      = :yaml
  # Seiten.config[:storage_file]      = File.join('..', 'fixtures', 'navigation.yml')
  # Seiten.config[:storage_directory] = File.join('app', 'pages')
end

class ActionDispatch::IntegrationTest
  include Capybara::DSL
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
seiten-0.0.5 test/test_helper.rb
seiten-0.0.4 test/test_helper.rb
seiten-0.0.3 test/test_helper.rb
seiten-0.0.2 test/test_helper.rb