diff options
Diffstat (limited to 'spec/features/tags/developer_views_tags_spec.rb')
-rw-r--r-- | spec/features/tags/developer_views_tags_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/tags/developer_views_tags_spec.rb b/spec/features/tags/developer_views_tags_spec.rb index 81a41951377..154311853f8 100644 --- a/spec/features/tags/developer_views_tags_spec.rb +++ b/spec/features/tags/developer_views_tags_spec.rb @@ -43,7 +43,7 @@ RSpec.describe 'Developer views tags', feature_category: :source_code_management it 'avoids a N+1 query in branches index' do control_count = ActiveRecord::QueryRecorder.new { visit project_tags_path(project) }.count - %w(one two three four five).each { |tag| repository.add_tag(user, tag, 'master', 'foo') } + %w[one two three four five].each { |tag| repository.add_tag(user, tag, 'master', 'foo') } expect { visit project_tags_path(project) }.not_to exceed_query_limit(control_count) end |