Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #513 from AlexKVal/remove_duplicate_test

remove duplicate test
  • Loading branch information...
commit 8f944f5961527e824189c2c6398ed02b998b7f26 2 parents 721140d + 1d31b88
@justinko justinko authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 spec/rspec/core/configuration_options_spec.rb
View
7 spec/rspec/core/configuration_options_spec.rb
@@ -279,17 +279,14 @@
end
it "parses dir and files from 'spec/file1_spec.rb, spec/file2_spec.rb'" do
- parse_options("dir", "spec/file1_spec.rb", "spec/file2_spec.rb").should include(:files_or_directories_to_run => ["dir", "spec/file1_spec.rb", "spec/file2_spec.rb"])
+ parse_options("dir", "spec/file1_spec.rb", "spec/file2_spec.rb")
+ .should include(:files_or_directories_to_run => ["dir", "spec/file1_spec.rb", "spec/file2_spec.rb"])
end
it "provides no files or directories if spec directory does not exist" do
FileTest.stub(:directory?).with("spec").and_return false
parse_options().should include(:files_or_directories_to_run => [])
end
-
- it "parses dir and files from 'spec/file1_spec.rb, spec/file2_spec.rb'" do
- parse_options("dir", "spec/file1_spec.rb", "spec/file2_spec.rb").should include(:files_or_directories_to_run => ["dir", "spec/file1_spec.rb", "spec/file2_spec.rb"])
- end
end
describe "default_path" do
Please sign in to comment.
Something went wrong with that request. Please try again.