Upstream cast me sync

This commit is contained in:
Senad Uka
2020-07-22 13:37:34 +00:00
parent e3acdb4d0e
commit 95e9a70c4b
20 changed files with 260 additions and 67 deletions

View File

@@ -36,8 +36,9 @@ RSpec.describe CastingSubmissionsController, type: :controller do
it "shows files of casting submission" do
get :show, params: { project_id: project, id: casting_submission.id }
expect(response.body).to have_content("Filename")
expect(response.body).to have_content("location_photo.png")
expect(response.body).to have_content(casting_submission.performer_name)
expect(response.body).to have_content(casting_submission.casting_call.title)
expect(response.body).to have_content(casting_submission.casting_call.project_description)
end
end
end