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

spam_logs.rb « admin « steps « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 79d18b036b0ea57a3171f6016d3046b92638c03d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Spinach::Features::AdminSpamLogs < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedPaths
  include SharedAdmin

  step 'I should see list of spam logs' do
    page.should have_content("Spam Logs")
    spam_log = SpamLog.first
    page.should have_content spam_log.title
    page.should have_content spam_log.description
    page.should have_link("Remove user")
    page.should have_link("Block user")
  end

  step 'spam logs exist' do
    create(:spam_log)
  end
end