Sha256: 08e39acdfbfc2416a618a9b2c609c5391e6399832df9e687141e1f3450c83e47
Contents?: true
Size: 385 Bytes
Versions: 8
Compression:
Stored size: 385 Bytes
Contents
# Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require 'bundler/setup' require 'rails' require "rails/test_help" # For generators require 'rails/generators/test_case' def copy_routes routes = File.expand_path("../support/routes.rb", __FILE__) destination = File.join(destination_root, "config") FileUtils.mkdir_p(destination) FileUtils.cp routes, destination end
Version data entries
8 entries across 7 versions & 4 rubygems