Commit 4b4351a1 authored by Robert Speicher's avatar Robert Speicher

Add `feature` tag to feature specs

Not to be confused with the RSpec `type: :feature` tag, this tag is used
by the `spec:feature` Rake task for filtering/grouping specs.
parent d00cb00d
require 'spec_helper'
feature 'Group' do
feature 'Group', feature: true do
describe 'description' do
let(:group) { create(:group) }
let(:path) { group_path(group) }
......
require 'spec_helper'
feature 'Issue filtering by Milestone' do
feature 'Issue filtering by Milestone', feature: true do
include Select2Helper
let(:project) { create(:empty_project) }
let(:project) { create(:project) }
before do
login_as(:admin)
......
require 'spec_helper'
feature 'Login' do
feature 'Login', feature: true do
describe 'with two-factor authentication' do
context 'with valid username/password' do
let(:user) { create(:user, :two_factor) }
......
......@@ -32,7 +32,7 @@ require 'erb'
#
# See the MarkdownFeature class for setup details.
describe 'GitLab Markdown' do
describe 'GitLab Markdown', feature: true do
include ActionView::Helpers::TagHelper
include ActionView::Helpers::UrlHelper
include Capybara::Node::Matchers
......
require 'spec_helper'
feature 'Merge Request filtering by Milestone' do
feature 'Merge Request filtering by Milestone', feature: true do
include Select2Helper
let(:project) { create(:project) }
......
require 'spec_helper'
describe 'Comments' do
describe 'Comments', feature: true do
include RepoHelpers
describe 'On a merge request', js: true, feature: true do
......
require 'spec_helper'
feature 'Password reset' do
feature 'Password reset', feature: true do
def forgot_password
click_on 'Forgot your password?'
fill_in 'Email', with: user.email
......
require 'spec_helper'
describe 'Profile > Preferences' do
describe 'Profile > Preferences', feature: true do
let(:user) { create(:user) }
before do
......
require 'spec_helper'
feature 'Project' do
feature 'Project', feature: true do
describe 'description' do
let(:project) { create(:project) }
let(:path) { namespace_project_path(project.namespace, project) }
......
require 'spec_helper'
feature 'Users' do
feature 'Users', feature: true do
scenario 'GET /users/sign_in creates a new user account' do
visit new_user_session_path
fill_in 'user_name', with: 'Name Surname'
......
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