Match imported appearance release documents #1

Closed
bilal.catic wants to merge 25 commits from match-imported-appearance-release-documents into master
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 3650d6022c - Show all commits

View File

@@ -49,5 +49,4 @@ Rails.application.configure do
ENV["ENABLE_ANALYTICS"] = "true"
ENV["BRAYNIAC_AI_API_ENDPOINT"] ||= ""
ENV["AWS_BUCKET"] = ""
end

View File

@@ -5,6 +5,10 @@ describe MatchAppearanceReleasesJob do
let(:dummy_appearance_release) { create(:appearance_release_import, :with_headshot, :with_contract) }
let(:dummy_matching_request) { instance_double(MatchingRequest, id: 999) }
before :all do
ENV["AWS_BUCKET"] = ""
end
describe ".perform_now" do
it "returns if no attachment is sent" do
expect(MatchingRequest).not_to receive(:create)