We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5f7fa commit adff05bCopy full SHA for adff05b
spec/models/reporting_api/vaccination_event_spec.rb
@@ -64,7 +64,7 @@
64
#
65
describe ReportingAPI::VaccinationEvent do
66
let!(:flu) do
67
- Programme.find_by_type("flu") || create(:programme, type: "flu")
+ Programme.flu.first || create(:programme, type: "flu")
68
end
69
70
let(:location) { create(:school, name: "St Vaxes") }
0 commit comments