rspec/rspec-core — Issue #546: `rspec test_spec.rb:3 test_spec.rb:7` executes all examples two times
Author: tom-kuca
Created: 2011-12-30 04:59:56+00:00
State: open

When I specify the same file with different line number (i.e. `rspec double_run_spec.rb:3 double_run_spec.rb:7`), all specs in that file are run twice. I expect each spec is run only once, the result should be same as `rspec double_run_spec.rb:3:7`

How to reproduce?
--

`double_run_spec.rb`:

```ruby
describe "Universe" do

it "should support basic math operations" do
(1 + 1).should == 2
end

it "should have answer to all questions" do
42.should == 42
end

end
```

Calling

> rspec double_run_spec.rb:3 double_run_spec.rb:7

results in

Run filtered including {:locations=>{"./double_run_spec.rb"=>[3, 7]}}
....

Finished in 0.21457 seconds
4 examples, 0 failures

Only two examples should be run.

(RSpec 2.7.1)