summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-22 20:12:52 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-22 20:12:52 +0300
commit5f3b2be8a06708922c1bba0f83eb24264982bebf (patch)
treed0a8049cac2af72810b7082604168f9d948b8eb4 /spec/routing
parent28639a1971980fcec2874357334f5789bada9b11 (diff)
downloadgitlab-ce-5f3b2be8a06708922c1bba0f83eb24264982bebf.tar.gz
Fix snippet test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index e219a57c29e..953c8dd8ddc 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -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