Sha256: 920a09f6b5f8fb89d6f332682b213b285d7be2e680d3fcb0d5bae2c63ee0f357

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 Bytes

Contents

Feature: 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

5 entries across 5 versions & 3 rubygems

Version Path
rspec-instructure-1.3.3 features/interop/test_but_not_test_unit.feature
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-1.3.2/features/interop/test_but_not_test_unit.feature
rspec-1.3.2 features/interop/test_but_not_test_unit.feature
rspec-1.3.1 features/interop/test_but_not_test_unit.feature
rspec-1.3.1.rc features/interop/test_but_not_test_unit.feature