spec/models/naf/queued_job_spec.rb in naf-2.0.4 vs spec/models/naf/queued_job_spec.rb in naf-2.1.0
- old
+ new
@@ -2,10 +2,11 @@
module Naf
describe QueuedJob do
# Mass-assignment
[:application_id,
+ :application_schedule_id,
:application_type_id,
:command,
:application_run_group_restriction_id,
:application_run_group_name,
:application_run_group_limit,
@@ -23,9 +24,10 @@
# *** Associations ***
#+++++++++++++++++++++
it { should belong_to(:historical_job) }
it { should belong_to(:application) }
+ it { should belong_to(:application_schedule) }
it { should belong_to(:application_type) }
it { should belong_to(:application_run_group_restriction) }
#--------------------
# *** Validations ***