Welcome to mirror list, hosted at ThFree Co, Russian Federation.

events_spec.rb « admin « features « ci « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 469c6ed102d25265dc07599ef20c46b98b35363f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 { page.should have_content "Events" }
    it { page.should have_content event.description }
  end
end