gitlabhq/spec/features/atom/dashboard_spec.rb

15 lines
362 B
Ruby
Raw Normal View History

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