Sha256: 88e5d0da630c30c8cf063715cc5ebf36b5bb6be7b6dc3e0dc7c2aec7d9d52774

Contents?: true

Size: 524 Bytes

Versions: 4

Compression:

Stored size: 524 Bytes

Contents

require "#{File.dirname(__FILE__)}/spec_helper"
require 'rubygems/mock_gem_ui'


describe 'the gem' do

  here = File.dirname(__FILE__)

  let(:gemspec) { eval(File.read "#{here}/../../../cuke_cataloger.gemspec") }

  it 'has an executable' do
    expect(gemspec.executables).to include('cuke_cataloger')
  end

  it 'validates cleanly' do
    mock_ui = Gem::MockGemUi.new
    Gem::DefaultUserInteraction.use_ui(mock_ui) { gemspec.validate }

    expect(mock_ui.error).to_not match(/warn/i)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cuke_cataloger-1.6.0 testing/rspec/spec/cuke_cataloger_spec.rb
cuke_cataloger-1.5.0 testing/rspec/spec/cuke_cataloger_spec.rb
cuke_cataloger-1.4.1 testing/rspec/spec/cuke_cataloger_spec.rb
cuke_cataloger-1.4.0 testing/rspec/spec/cuke_cataloger_spec.rb