Sha256: b52d6bed31266175209c5df75f1a729317e714bcf776e058ba28056c7a19e2af
Contents?: true
Size: 384 Bytes
Versions: 5
Compression:
Stored size: 384 Bytes
Contents
# Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require 'rails' require "rails/test_help" # require 'sass/rails' # 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
5 entries across 5 versions & 1 rubygems