diff options
author | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-06 12:59:28 +0900 |
---|---|---|
committer | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-06 16:36:01 +0900 |
commit | 6224ac064798e28a75bf14c7fcce5b8f2b58fca2 (patch) | |
tree | 9621095bb8c225b23e178c72b05518524edaf11a /spec/controllers | |
parent | 6beae84ea37e03e68affd2b69fba25f45a4e5386 (diff) | |
download | gitlab-ce-6224ac064798e28a75bf14c7fcce5b8f2b58fca2.tar.gz |
Add and fix some tests for routing.
It is linked to #2598.
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/commits_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/commits_controller_spec.rb b/spec/controllers/commits_controller_spec.rb index 1d5d99df802..99cbcd13d56 100644 --- a/spec/controllers/commits_controller_spec.rb +++ b/spec/controllers/commits_controller_spec.rb @@ -13,7 +13,7 @@ describe CommitsController do describe "GET show" do context "as atom feed" do it "should render as atom" do - get :show, project_id: project.path, id: "master.atom" + get :show, project_id: project.path, id: "master", format: "atom" response.should be_success response.content_type.should == 'application/atom+xml' end |