gitlabhq/spec/requests/atom/dashboard_spec.rb
2012-11-13 22:27:45 +11:00

14 lines
362 B
Ruby

require 'spec_helper'
describe "Dashboard Feed" do
describe "GET /" do
let!(:user) { create(:user) }
context "projects atom feed via private token" do
it "should render projects atom feed" do
visit dashboard_path(:atom, private_token: user.private_token)
page.body.should have_selector("feed title")
end
end
end
end