Fix snippet test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-04-22 20:12:52 +03:00
parent 28639a1971
commit 5f3b2be8a0
No known key found for this signature in database
GPG Key ID: 161B5D6A44D3D88A
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ end
# DELETE /snippets/:id(.:format) snippets#destroy
describe SnippetsController, "routing" 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
it "to #raw" do