debian-mirror-gitlab/spec/features/ci/admin/events_spec.rb
2015-09-25 12:07:36 +05:30

20 lines
386 B
Ruby

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