Simplify polymorphic routes in shared specs
Now we get rid of the "hierarchy" methods and use standard Rails methods except in the routes definitions themselves.
This commit is contained in:
@@ -7,7 +7,7 @@ describe "Admin proposals" do
|
||||
|
||||
it_behaves_like "admin_milestoneable",
|
||||
:proposal,
|
||||
"admin_proposal_path"
|
||||
"admin_polymorphic_path"
|
||||
|
||||
context "Index" do
|
||||
scenario "Search" do
|
||||
|
||||
Reference in New Issue
Block a user