Sha256: 4d70673b2bf4df789df6a1178a400f398e0a35af1661e1648200b65ba065bef5
Contents?: true
Size: 616 Bytes
Versions: 1
Compression:
Stored size: 616 Bytes
Contents
require "rubygems" require "bundler/setup" unless ENV["TRAVIS"] require 'simplecov' SimpleCov.start do add_group "lib", "lib" add_group "spec", "spec" end end require "pry" require "active_model_serializers" require "active_support/json" require "test/unit" require 'rails' module TestHelper Routes = ActionDispatch::Routing::RouteSet.new Routes.draw do match ':controller(/:action(/:id))' match ':controller(/:action)' end ActionController::Base.send :include, Routes.url_helpers end ActiveSupport::TestCase.class_eval do setup do @routes = ::TestHelper::Routes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_model_serializers-0.5.0 | test/test_helper.rb |