Sha256: 94e227a7cc397f886f9deca9212e4b1ee622181b2ecc78a459e531b7a340de8f

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

require 'albacore'
require 'albacore/tasks/versionizer'

describe 'adding versionizer to a class' do
  class VersioniserUsage
    def initialize
      ::Albacore::Tasks::Versionizer.new :v
    end
  end

  it 'can create a new class instance' do
    begin
      VersioniserUsage.new
    rescue SemVerMissingError
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
albacore-2.0.0.rc.7 spec/tasks/versionizer_spec.rb
albacore-2.0.0.rc.6 spec/tasks/versionizer_spec.rb
albacore-2.0.0.rc.5 spec/tasks/versionizer_spec.rb