spec/models/naf/running_job_spec.rb in naf-2.0.4 vs spec/models/naf/running_job_spec.rb in naf-2.1.0

- old
+ new

@@ -4,10 +4,11 @@ describe RunningJob do let!(:running_job) { FactoryGirl.create(:running_job_base) } # Mass-assignment [:application_id, + :application_schedule_id, :application_type_id, :command, :application_run_group_restriction_id, :application_run_group_name, :application_run_group_limit, @@ -31,9 +32,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) } it { should belong_to(:started_on_machine) } it { should belong_to(:marked_dead_by_machine) }