add projects atom feed

This commit is contained in:
Nihad Abbasov 2012-05-31 23:42:02 -07:00
parent 2cf8010792
commit f8f6ff065e
4 changed files with 53 additions and 4 deletions

View file

@ -18,9 +18,16 @@ describe "Projects" do
page.should have_content("New Project")
end
it "should have project" do
it "should have project" do
page.should have_content(@project.name)
end
it "should render projects atom feed via private token" do
logout
visit projects_path(:atom, :private_token => @user.private_token)
page.body.should have_selector("feed title")
end
end
describe "GET /projects/new" do