Permalink
Browse files

remove duplicate test

  • Loading branch information...
1 parent 721140d commit 1d31b88e060dcaf5854fa7621d216d57ee57bf04 Sasha committed Nov 28, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 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

0 comments on commit 1d31b88

Please sign in to comment.