spec/lib/travis_spec.rb in evrone-ci-router-0.2.0.pre4 vs spec/lib/travis_spec.rb in evrone-ci-router-0.2.0.pre5
- old
+ new
@@ -62,10 +62,11 @@
it { should eq travis.attributes.to_yaml }
end
end
context "to_script_builder" do
- subject { travis.to_script_builder }
+ let(:build) { create :build }
+ subject { travis.to_script_builder build }
it { should be }
end
context "to_matrix_s" do
subject { travis.to_matrix_s }