Sha256: 58601e609bf4ac977215cf176408b5d2e263e66c62a5130c99eb37daa29b7ff9
Contents?: true
Size: 645 Bytes
Versions: 5
Compression:
Stored size: 645 Bytes
Contents
require 'spec_helper' require 'helpers/git' require 'helpers/ci' require 'appversion' RSpec.describe 'CI#build_no' do it 'returns build number' do build_no = ENV['TRAVIS_BUILD_NUMBER'] || ENV['CIRCLE_BUILD_NUM'] || '1' expect(Helpers::CI.build_no).to eq(build_no) end end RSpec.describe 'Release#is_pre_release?' do include AppVersion it 'returns true' do expect(AppVersion::Release.is_pre_release?('')).to eq(true) end end =begin TODO: make these functions deterministic by passing in the tag RSpec.describe 'Git#tag' do include AppVersion it 'returns true' do expect(Git.tag.length).to be > 1 end end =end
Version data entries
5 entries across 5 versions & 1 rubygems