Sha256: 20bbc3f65527482be7ecaf438ee04f0ef7b92d7db6896c9d4407f79bff856aff

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged
    Given I have a "execs.rb" file with content:
    """
    #!/usr/bin/env ruby
    require 'rubygems'
    spec = Gem::Specification::load('./spec.rb')
    if spec.executables.empty?
      fail 'no executables: ' + File.read('./spec.rb')
    end
    """
    When I run bash with:
    """
    cd damsi
    gem build damsi.gemspec
    gem specification --ruby damsi-*.gem > ../spec.rb
    cd ..
    ruby execs.rb
    """
    Then Exit code is zero

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
damsi-0.0.2 features/gem_package.feature
damsi-0.0.1 features/gem_package.feature