Sha256: 48edbaf399da69b4a792f1db80d1e669dc277b7ec0a06577cdf183f4d5b9991c
Contents?: true
Size: 360 Bytes
Versions: 2
Compression:
Stored size: 360 Bytes
Contents
# Configure Rails Environment ENV["RAILS_ENV"] = "test" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roy-rails-0.0.2 | test/test_helper.rb |
roy-rails-0.0.1 | test/test_helper.rb |