debian-mirror-gitlab/spec/features/ci/admin/events_spec.rb

21 lines
386 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
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