summaryrefslogtreecommitdiff
path: root/spec/services/wikis/create_attachment_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/wikis/create_attachment_service_spec.rb')
-rw-r--r--spec/services/wikis/create_attachment_service_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/wikis/create_attachment_service_spec.rb b/spec/services/wikis/create_attachment_service_spec.rb
index 50cb9ac111c..22e34e1f373 100644
--- a/spec/services/wikis/create_attachment_service_spec.rb
+++ b/spec/services/wikis/create_attachment_service_spec.rb
@@ -13,6 +13,7 @@ RSpec.describe Wikis::CreateAttachmentService do
file_content: 'Content of attachment'
}
end
+
let(:opts) { file_opts }
subject(:service) { described_class.new(container: container, current_user: user, params: opts) }