require 'spec_helper' require 'billd/build' describe Billd::Build do subject { Billd::Build.new(status) } let(:status) { %Q{} } its(:name) { should == 'my-project' } its(:to_s) { should == 'my-project: Success!' } describe 'passing' do let(:status) { %Q{} } its(:outcome) { should == :success } end describe 'failing' do let(:status) { %Q{} } its(:outcome) { should == :failure } end describe 'building from success' do let(:status) { %Q{} } its(:outcome) { should == :building } end describe 'building from failure' do let(:status) { %Q{} } its(:outcome) { should == :building } end end