Sha256: 8efcfc0ddfa9f7e20806fc71f6bc081017de198bdf2511a0e04e5730e4f8c280

Contents?: true

Size: 578 Bytes

Versions: 4

Compression:

Stored size: 578 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 fief
    gem build fief.gemspec
    gem specification --ruby fief-*.gem > ../spec.rb
    cd ..
    ruby execs.rb
    """
    Then Exit code is zero

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fief-0.0.4 features/gem_package.feature
fief-0.0.3 features/gem_package.feature
fief-0.0.2 features/gem_package.feature
fief-0.0.1 features/gem_package.feature