diff options
Diffstat (limited to 'spec/routing/routing_spec.rb')
-rw-r--r-- | spec/routing/routing_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index 6b7a0d018f1..f665dc31ee4 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -133,6 +133,10 @@ RSpec.describe ProfilesController, "routing" do it "to #show" do expect(get("/profile")).to route_to('profiles#show') end + + it 'to #show from scope routing' do + expect(get("/-/profile")).to route_to('profiles#show') + end end # profile_preferences GET /profile/preferences(.:format) profiles/preferences#show |