Sha256: 057676404b691283f252e0328c7abeca9651bb82f4708bc84669e7233729180d

Contents?: true

Size: 684 Bytes

Versions: 33

Compression:

Stored size: 684 Bytes

Contents

Story: Test is defined, but not Test::Unit

  As an RSpec user who has my own library named Test (but not Test::Unit)
  I want to run examples without getting Test::Unit NameErrors

  Scenario Outline: Spec including Test const but not Test::Unit
    Given a file named "spec_including_test_but_not_unit.rb" with:
    """
    require 'spec/autorun'

    module Test
    end

    describe "description" do
      it "should description" do
        1.should == 1
      end
    end
    """
    When I run "<Command> spec_including_test_but_not_unit.rb"
    Then the stderr should not match "Test::Unit"

  Scenarios: Run with ruby and spec
    | Command |
    | ruby    |
    | spec    |

Version data entries

33 entries across 33 versions & 9 rubygems

Version Path
rspec-1.3.0 features/interop/test_but_not_test_unit.feature
hubbub-0.0.11 lib/vendor/plugins/rspec/features/interop/test_but_not_test_unit.feature
hubbub-0.0.10 lib/vendor/plugins/rspec/features/interop/test_but_not_test_unit.feature
hubbub-0.0.9 lib/vendor/plugins/rspec/features/interop/test_but_not_test_unit.feature
hubbub-0.0.8 lib/vendor/plugins/rspec/features/interop/test_but_not_test_unit.feature
hubbub-0.0.6 lib/vendor/plugins/rspec/features/interop/test_but_not_test_unit.feature
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/features/interop/test_but_not_test_unit.feature
media-path-0.1.2 vendor/rspec/features/interop/test_but_not_test_unit.feature
simple-templater-0.0.1.3 vendor/rspec/features/interop/test_but_not_test_unit.feature
pupu-0.0.2.pre vendor/rspec/features/interop/test_but_not_test_unit.feature
media-path-0.1.1.pre vendor/rspec/features/interop/test_but_not_test_unit.feature
simple-templater-0.0.1.2 vendor/rspec/features/interop/test_but_not_test_unit.feature
media-path-0.1.1 vendor/rspec/features/interop/test_but_not_test_unit.feature
simple-templater-0.0.1.1 vendor/rspec/features/interop/test_but_not_test_unit.feature
pupu-0.0.2 vendor/rspec/features/interop/test_but_not_test_unit.feature
rango-0.0.6 vendor/rspec/features/interop/test_but_not_test_unit.feature
rango-0.1.pre vendor/rspec/features/interop/test_but_not_test_unit.feature
pupu-0.0.1 vendor/rspec/features/interop/test_but_not_test_unit.feature
media-path-0.1 vendor/rspec/features/interop/test_but_not_test_unit.feature
simple-templater-0.0.1 vendor/rspec/features/interop/test_but_not_test_unit.feature