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.29 features/gem_package.feature
cobench-0.0.28 features/gem_package.feature
cobench-0.0.27 features/gem_package.feature
cobench-0.0.26 features/gem_package.feature
cobench-0.0.25 features/gem_package.feature
cobench-0.0.24 features/gem_package.feature
cobench-0.0.23 features/gem_package.feature
cobench-0.0.22 features/gem_package.feature
cobench-0.0.21 features/gem_package.feature
cobench-0.0.20 features/gem_package.feature
cobench-0.0.19 features/gem_package.feature
cobench-0.0.18 features/gem_package.feature
cobench-0.0.17 features/gem_package.feature
cobench-0.0.16 features/gem_package.feature
cobench-0.0.15 features/gem_package.feature
cobench-0.0.14 features/gem_package.feature
cobench-0.0.13 features/gem_package.feature
cobench-0.0.12 features/gem_package.feature
cobench-0.0.11 features/gem_package.feature
cobench-0.0.10 features/gem_package.feature