gitlab-org--gitlab-foss/spec/features/ci/admin/events_spec.rb
2015-09-10 16:56:21 +02:00

20 lines
377 B
Ruby

require 'spec_helper'
describe "Admin Events" do
let(:event) { FactoryGirl.create :admin_event }
before do
skip_admin_auth
login_as :user
end
describe "GET /admin/events" do
before do
event
visit admin_events_path
end
it { expect(page).to have_content "Events" }
it { expect(page).to have_content event.description }
end
end