spec/lib/build_spec.rb in evrone-ci-router-0.2.0.pre22 vs spec/lib/build_spec.rb in evrone-ci-router-0.2.0.pre23

- old
+ new

@@ -96,12 +96,12 @@ expect(last_build_log_message.tm).to eq 1 end end context ".to_perform_job_message" do - let(:travis) { create :travis } + let(:config) { create :configuration } let(:job_id) { 2 } - subject { build.to_perform_job_message travis, job_id } + subject { build.to_perform_job_message config, job_id } it { should be_an_instance_of Evrone::CI::Message::PerformJob } context "created message" do its(:id) { should eq build.message.id }