mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix scaffold generator test for resource routes
This commit is contained in:
parent
846f35203d
commit
dc4c68aaaa
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class ScaffoldGeneratorTest < Rails::Generators::TestCase
|
|||
|
||||
# Route
|
||||
assert_file "config/routes.rb" do |route|
|
||||
assert_match(/resources :product_lines, except: \[:new, :edit\]$/, route)
|
||||
assert_match(/resources :product_lines$/, route)
|
||||
end
|
||||
|
||||
# Controller
|
||||
|
|
Loading…
Reference in a new issue