Sha256: c199c854cca60ea9e8170fc99819e97e6f219658d1eb5f5002f5bbe0d7a6f257
Contents?: true
Size: 685 Bytes
Versions: 13
Compression:
Stored size: 685 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 'rspec/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
13 entries across 13 versions & 1 rubygems