Skip to content
Snippets Groups Projects
Commit e16bc50d authored by Semyon Pupkov's avatar Semyon Pupkov
Browse files

Move admin logs spinach test to rspec

parent 18201ace
No related branches found
No related tags found
No related merge requests found
---
title: Move admin logs spinach test to rspec
merge_request: 7945
author: Semyon Pupkov
@admin
Feature: Admin Logs
Background:
Given I sign in as an admin
Scenario: On Admin Logs
Given I visit admin logs page
Then I should see tabs with available logs
class Spinach::Features::AdminLogs < Spinach::FeatureSteps require 'spec_helper'
include SharedAuthentication
include SharedPaths describe 'Admin browses logs' do
include SharedAdmin before do
login_as :admin
end
it 'shows available log files' do
visit admin_logs_path
   
step 'I should see tabs with available logs' do
expect(page).to have_content 'test.log' expect(page).to have_content 'test.log'
expect(page).to have_content 'githost.log' expect(page).to have_content 'githost.log'
expect(page).to have_content 'application.log' expect(page).to have_content 'application.log'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment