gitlab-org--gitlab-foss/spec/features/ci/admin/events_spec.rb

21 lines
377 B
Ruby
Raw Normal View History

2015-08-26 01:42:46 +00:00
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
2015-09-10 14:55:09 +00:00
it { expect(page).to have_content "Events" }
it { expect(page).to have_content event.description }
2015-08-26 01:42:46 +00:00
end
end