Sha256: d2207a28db15682d40fec24f27f8148b3fbf1005ea32a5cf7257ddfb51762e99

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

require 'spec_helper'
require 'appversion/ci'


RSpec.describe '#build_no' do

 include Overview

 context 'running on CI' do
   it 'returns build number' do
     build_no = ENV['TRAVIS_BUILD_NUMBER'] || ENV['CIRCLE_BUILD_NUM'] || '1'
     expect(Overview::CI.build_no).to eq(build_no)
   end

 end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
overview-0.0.2.1.40 spec/appversion_spec.rb