gitlabhq/spec/features/atom/dashboard_spec.rb
2013-02-21 10:41:37 +02: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