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.49 features/gem_package.feature
cobench-0.0.48 features/gem_package.feature
cobench-0.0.47 features/gem_package.feature
cobench-0.0.46 features/gem_package.feature
cobench-0.0.45 features/gem_package.feature
cobench-0.0.44 features/gem_package.feature
cobench-0.0.43 features/gem_package.feature
cobench-0.0.42 features/gem_package.feature
cobench-0.0.41 features/gem_package.feature
cobench-0.0.40 features/gem_package.feature
cobench-0.0.39 features/gem_package.feature
cobench-0.0.38 features/gem_package.feature
cobench-0.0.37 features/gem_package.feature
cobench-0.0.36 features/gem_package.feature
cobench-0.0.35 features/gem_package.feature
cobench-0.0.34 features/gem_package.feature
cobench-0.0.33 features/gem_package.feature
cobench-0.0.32 features/gem_package.feature
cobench-0.0.31 features/gem_package.feature
cobench-0.0.30 features/gem_package.feature