Sha256: 1a5e6b98bd98f3ccc3809518c89482991d8805e3ae62336c95d863933b48e535

Contents?: true

Size: 630 Bytes

Versions: 32

Compression:

Stored size: 630 Bytes

Contents

Feature: add 'spec' to load path
  In order to ...
  As a spec author
  I want rspec to add 'spec to the load path

  Scenario: add 'spec' to load path
    Given a directory named "spec"
    And a file named "example.rb" with:
      """
      describe $LOAD_PATH do
        it "includes with 'spec' in the current directory in the load path" do
          specdir = File.expand_path(File.join(File.dirname(__FILE__), 'spec'))
          $LOAD_PATH.should include(specdir)
        end
      end
      """
    When I run "spec example.rb"
    Then the stdout should include "1 example, 0 failures"
    And  the exit code should be 0

Version data entries

32 entries across 32 versions & 11 rubygems

Version Path
rango-0.0.6 vendor/rspec/features/load_paths/add_spec_to_load_path.feature
rango-0.1.pre vendor/rspec/features/load_paths/add_spec_to_load_path.feature
pupu-0.0.1 vendor/rspec/features/load_paths/add_spec_to_load_path.feature
media-path-0.1 vendor/rspec/features/load_paths/add_spec_to_load_path.feature
simple-templater-0.0.1 vendor/rspec/features/load_paths/add_spec_to_load_path.feature
middleman-0.10.17 vendor/gems/gems/rspec-1.2.9/features/load_paths/add_spec_to_load_path.feature
middleman-0.10.16 vendor/gems/gems/rspec-1.2.9/features/load_paths/add_spec_to_load_path.feature
middleman-0.10.15 vendor/gems/gems/rspec-1.2.9/features/load_paths/add_spec_to_load_path.feature
rackjour-0.1.8 vendor/gems/gems/rspec-1.2.9/features/load_paths/add_spec_to_load_path.feature
middleman-0.10.14 vendor/gems/gems/rspec-1.2.9/features/load_paths/add_spec_to_load_path.feature
ageweke-rspec-1.2.9 features/load_paths/add_spec_to_load_path.feature
rspec-1.2.9 features/load_paths/add_spec_to_load_path.feature