diff options
-rw-r--r-- | app/policies/commit_policy.rb | 2 | ||||
-rw-r--r-- | spec/features/commits/user_uses_slash_commands_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/commits/tag_service_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/quick_actions/target_service_spec.rb | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/app/policies/commit_policy.rb b/app/policies/commit_policy.rb index 44063181241..67e9bc12804 100644 --- a/app/policies/commit_policy.rb +++ b/app/policies/commit_policy.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CommitPolicy < BasePolicy delegate { @subject.project } end diff --git a/spec/features/commits/user_uses_slash_commands_spec.rb b/spec/features/commits/user_uses_slash_commands_spec.rb index d8359766509..9a4b7bd2444 100644 --- a/spec/features/commits/user_uses_slash_commands_spec.rb +++ b/spec/features/commits/user_uses_slash_commands_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'rails_helper' describe 'Commit > User uses quick actions', :js do diff --git a/spec/services/commits/tag_service_spec.rb b/spec/services/commits/tag_service_spec.rb index f14eb9ea2b9..82377a8dace 100644 --- a/spec/services/commits/tag_service_spec.rb +++ b/spec/services/commits/tag_service_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Commits::TagService do diff --git a/spec/services/quick_actions/target_service_spec.rb b/spec/services/quick_actions/target_service_spec.rb index abe07ae90ba..0aeb29cbeec 100644 --- a/spec/services/quick_actions/target_service_spec.rb +++ b/spec/services/quick_actions/target_service_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe QuickActions::TargetService do |