parent
6beae84ea3
commit
6224ac0647
2 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue