diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2017-10-03 10:35:01 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2017-10-07 13:57:54 +0200 |
commit | 0ce6785851510ccb49f0d1edc0220aca46f815f5 (patch) | |
tree | d1b7f183619ffe60132be4cac7524bc6cde91d38 /spec/features/projects/project_settings_spec.rb | |
parent | 2ef28db9a1b7d56c5dda6230dcffcf4e140ecc45 (diff) | |
download | gitlab-ce-0ce6785851510ccb49f0d1edc0220aca46f815f5.tar.gz |
Replaces `tag: true` into `:tag` in the specs
Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection.
Diffstat (limited to 'spec/features/projects/project_settings_spec.rb')
-rw-r--r-- | spec/features/projects/project_settings_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/project_settings_spec.rb b/spec/features/projects/project_settings_spec.rb index 06568817757..15a5cd9990b 100644 --- a/spec/features/projects/project_settings_spec.rb +++ b/spec/features/projects/project_settings_spec.rb @@ -10,7 +10,7 @@ describe 'Edit Project Settings' do sign_in(user) end - describe 'Project settings section', js: true do + describe 'Project settings section', :js do it 'shows errors for invalid project name' do visit edit_project_path(project) fill_in 'project_name_edit', with: 'foo&bar' @@ -125,7 +125,7 @@ describe 'Edit Project Settings' do end end - describe 'Transfer project section', js: true do + describe 'Transfer project section', :js do let!(:project) { create(:project, :repository, namespace: user.namespace, name: 'gitlabhq') } let!(:group) { create(:group) } |