Sha256: 7491d93d48389f75a8964a8dba6c8cf8a8358d277be8ff90abeeb4cb3faf3427

Contents?: true

Size: 587 Bytes

Versions: 49

Compression:

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

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
cobench-0.0.9 features/gem_package.feature
cobench-0.0.8 features/gem_package.feature
cobench-0.0.7 features/gem_package.feature
cobench-0.0.6 features/gem_package.feature
cobench-0.0.5 features/gem_package.feature
cobench-0.0.4 features/gem_package.feature
cobench-0.0.3 features/gem_package.feature
cobench-0.0.2 features/gem_package.feature
cobench-0.0.1 features/gem_package.feature