Sha256: 56d75c5b882dd9718d2ed7b54926712766c94fc03dd92858a68cdd68bf31acb6

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

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

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

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.respond_to?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

class ActiveSupport::TestCase
  fixtures :all

end

module EasyTokens
  class ActiveSupport::TestCase
    setup do
      @routes = Engine.routes
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easy_tokens-0.3.0 test/test_helper.rb