Sha256: 6541c06d9d606b403ecd6bfbe0cdfc57d7d21ac67c36a408dd8abaf4f61b72aa
Contents?: true
Size: 534 Bytes
Versions: 4
Compression:
Stored size: 534 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' # Imported Rails rake task desc 'Print out all defined routes in match order, with names.' task :routes do $LOAD_PATH.unshift('spec/') require 'fixtures/application' all_routes = Rails.application.routes.routes require 'action_dispatch/routing/inspector' inspector = ActionDispatch::Routing::RoutesInspector.new(all_routes) puts inspector.format(ActionDispatch::Routing::ConsoleFormatter.new) end RSpec::Core::RakeTask.new task default: :spec task test: :spec
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
fortress-0.2.3 | Rakefile |
fortress-0.2.2 | Rakefile |
fortress-0.2.1 | Rakefile |
fortress-0.2.0 | Rakefile |