diff options
Diffstat (limited to 'spec/requests/api/graphql/mutations/snippets/update_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/mutations/snippets/update_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/graphql/mutations/snippets/update_spec.rb b/spec/requests/api/graphql/mutations/snippets/update_spec.rb index 820c97e8341..1035e3346e1 100644 --- a/spec/requests/api/graphql/mutations/snippets/update_spec.rb +++ b/spec/requests/api/graphql/mutations/snippets/update_spec.rb @@ -91,7 +91,7 @@ describe 'Updating a Snippet' do describe 'PersonalSnippet' do it_behaves_like 'graphql update actions' do - let_it_be(:snippet) do + let(:snippet) do create(:personal_snippet, :private, file_name: original_file_name, @@ -104,7 +104,7 @@ describe 'Updating a Snippet' do describe 'ProjectSnippet' do let_it_be(:project) { create(:project, :private) } - let_it_be(:snippet) do + let(:snippet) do create(:project_snippet, :private, project: project, |