Upstream cast me sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user