Commit 0fc1e9a8 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'move-admin-logs-spinach-test-to-rspec' into 'master'

Move admin logs spinach test to RSpec

See merge request !7945
parents 9e5d9f01 e16bc50d
title: Move admin logs spinach test to rspec
merge_request: 7945
author: Semyon Pupkov
Feature: Admin Logs
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
include SharedAuthentication
include SharedPaths
include SharedAdmin
require 'spec_helper'
describe 'Admin browses logs' do
before do
login_as :admin
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 'githost.log'
expect(page).to have_content 'application.log'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment