Commit 5f3b2be8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix snippet test

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 28639a19
...@@ -28,7 +28,7 @@ end ...@@ -28,7 +28,7 @@ end
# DELETE /snippets/:id(.:format) snippets#destroy # DELETE /snippets/:id(.:format) snippets#destroy
describe SnippetsController, "routing" do describe SnippetsController, "routing" do
it "to #user_index" do it "to #user_index" do
expect(get("/s/User")).to route_to('snippets#user_index', username: 'User') expect(get("/s/User")).to route_to('snippets#index', username: 'User')
end end
it "to #raw" do it "to #raw" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment