summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorichord <chord.luo@gmail.com>2013-05-03 23:39:18 +0800
committerichord <chord.luo@gmail.com>2013-05-04 11:26:43 +0800
commit439cd3ebd3613825fc426238770f522a9401d51e (patch)
tree06775a02ea6e327c43a590907a41139674e913ae /spec/routing
parentca244c35cc0145908caa8aaab956f5dc1240aed1 (diff)
downloadgitlab-ce-439cd3ebd3613825fc426238770f522a9401d51e.tar.gz
autocomplete issues and preload autocomplete data.
update jquery-atwho-rails to v0.3.0 add autocomplete_source action to project for gfm autocomplete move init_autocomplete layout from head_panel to project_resource
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/project_routing_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index dd4fb54af69..15d774a899b 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -83,6 +83,10 @@ describe ProjectsController, "routing" do
get("/gitlabhq/edit").should route_to('projects#edit', id: 'gitlabhq')
end
+ it "to #autocomplete_sources" do
+ get('/gitlabhq/autocomplete_sources').should route_to('projects#autocomplete_sources', id: "gitlabhq")
+ end
+
it "to #show" do
get("/gitlabhq").should route_to('projects#show', id: 'gitlabhq')
end