diff options
Diffstat (limited to 'vendor/gems/rspec-1.3.1/features/load_paths')
-rw-r--r-- | vendor/gems/rspec-1.3.1/features/load_paths/add_lib_to_load_path.feature | 20 | ||||
-rw-r--r-- | vendor/gems/rspec-1.3.1/features/load_paths/add_spec_to_load_path.feature | 20 |
2 files changed, 0 insertions, 40 deletions
diff --git a/vendor/gems/rspec-1.3.1/features/load_paths/add_lib_to_load_path.feature b/vendor/gems/rspec-1.3.1/features/load_paths/add_lib_to_load_path.feature deleted file mode 100644 index 81513ec75..000000000 --- a/vendor/gems/rspec-1.3.1/features/load_paths/add_lib_to_load_path.feature +++ /dev/null @@ -1,20 +0,0 @@ -Feature: add ./lib to load path - In order to ... - As a spec author - I want rspec to add ./lib to the load path - - Scenario: spec helper - Given a directory named "spec" - And a file named "example.rb" with: - """ - describe $LOAD_PATH do - it "begins with 'lib' in the current directory in the load path" do - libdir = File.expand_path(File.join(File.dirname(__FILE__), 'lib')) - $LOAD_PATH.should include(libdir) - end - end - """ - When I run "spec example.rb" - Then the stdout should include "1 example, 0 failures" - And the exit code should be 0 - diff --git a/vendor/gems/rspec-1.3.1/features/load_paths/add_spec_to_load_path.feature b/vendor/gems/rspec-1.3.1/features/load_paths/add_spec_to_load_path.feature deleted file mode 100644 index b216ebedd..000000000 --- a/vendor/gems/rspec-1.3.1/features/load_paths/add_spec_to_load_path.feature +++ /dev/null @@ -1,20 +0,0 @@ -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 - |