spec/appversion_spec.rb in overview-0.0.3.49 vs spec/appversion_spec.rb in overview-0.0.3.56

- old
+ new

@@ -42,6 +42,17 @@ it '1 returns semantic version' do expect(Overview::Git.clean_tag('1')).to eq('1') end end +RSpec.describe '#tagged_build?' do + + include Overview + + it 'returns true if TRAVIS_TAG is v0.0.3.5' do + build_no = ENV['TRAVIS_BUILD_NUMBER'] || ENV['CIRCLE_BUILD_NUM'] || '1' + expect(Overview::CI.tagged_build?('v0.0.3.5')).to eq(true) + end +end + +