diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-11 23:14:02 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-12 18:05:50 +0200 |
commit | eae2ed3366ac13832c56aefe965513b986d7e8b1 (patch) | |
tree | 12fa2cb1bac9ab03c1476f5c58f215aaf0a7ba10 /spec/features/projects/commit/user_reverts_commit_spec.rb | |
parent | 2bf3846adcac843958837a32fafdeb63d067a532 (diff) | |
download | gitlab-ce-eae2ed3366ac13832c56aefe965513b986d7e8b1.tar.gz |
Spec improvements for speed, reliability and readability
Diffstat (limited to 'spec/features/projects/commit/user_reverts_commit_spec.rb')
-rw-r--r-- | spec/features/projects/commit/user_reverts_commit_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/commit/user_reverts_commit_spec.rb b/spec/features/projects/commit/user_reverts_commit_spec.rb index 5a09e2380b6..42844a03ea6 100644 --- a/spec/features/projects/commit/user_reverts_commit_spec.rb +++ b/spec/features/projects/commit/user_reverts_commit_spec.rb @@ -62,7 +62,7 @@ describe 'User reverts a commit', :js do end context 'when the project is archived' do - let(:project) { create(:project, :repository, namespace: user.namespace, archived: true) } + let(:project) { create(:project, :repository, :archived, namespace: user.namespace) } it 'does not show the revert link' do find('.header-action-buttons .dropdown').click |