spec/billd/build_spec.rb in billd-0.0.1 vs spec/billd/build_spec.rb in billd-0.0.2
- old
+ new
@@ -8,23 +8,23 @@
its(:name) { should == 'my-project' }
its(:to_s) { should == 'my-project: Success!' }
describe 'passing' do
let(:status) { %Q{<Project name="my-project" lastBuildStatus="Success" activity="Sleeping"/>} }
- its(:outcome) { should == :success }
+ its(:outcome) { should == :success! }
end
describe 'failing' do
let(:status) { %Q{<Project name="my-project" lastBuildStatus="Failure" activity="Sleeping"/>} }
- its(:outcome) { should == :failure }
+ its(:outcome) { should == :failure! }
end
describe 'building from success' do
let(:status) { %Q{<Project name="my-project" lastBuildStatus="Success" activity="Building"/>} }
- its(:outcome) { should == :building }
+ its(:outcome) { should == :building! }
end
describe 'building from failure' do
let(:status) { %Q{<Project name="my-project" lastBuildStatus="Failure" activity="Building"/>} }
- its(:outcome) { should == :building }
+ its(:outcome) { should == :building! }
end
end
\ No newline at end of file