diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-03 15:38:27 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-03-03 16:13:59 -0500 |
commit | 01b89ee8f17f837544d744c021b92950426a60d8 (patch) | |
tree | 24e5cae380242ff2bd1dc4b51ab36a463c3c343a /spec/routing | |
parent | 9db57bc65a53b19714e7b867bdb75c85058013cf (diff) | |
download | gitlab-ce-01b89ee8f17f837544d744c021b92950426a60d8.tar.gz |
Remove `Profile::KeysController#new` action
Diffstat (limited to 'spec/routing')
-rw-r--r-- | spec/routing/routing_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index dfa18f69e05..1527eddfa48 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -137,7 +137,6 @@ end # keys GET /keys(.:format) keys#index # POST /keys(.:format) keys#create -# new_key GET /keys/new(.:format) keys#new # edit_key GET /keys/:id/edit(.:format) keys#edit # key GET /keys/:id(.:format) keys#show # PUT /keys/:id(.:format) keys#update @@ -151,10 +150,6 @@ describe Profiles::KeysController, "routing" do expect(post("/profile/keys")).to route_to('profiles/keys#create') end - it "to #new" do - expect(get("/profile/keys/new")).to route_to('profiles/keys#new') - end - it "to #edit" do expect(get("/profile/keys/1/edit")).to route_to('profiles/keys#edit', id: '1') end |