diff options
| author | Robert | 2017-05-02 21:44:59 +0200 | 
|---|---|---|
| committer | Robert | 2017-05-02 21:44:59 +0200 | 
| commit | 1a8961555e8f674eb989f7f4af4c4a22b25856b0 (patch) | |
| tree | 0f2c09c36b1c228cc254d023575c3b5baff74372 /spec/lib/range_ext_spec.rb | |
| parent | 7ce3dfa2770b2022f909164a0f24f8f38d8d8fb2 (diff) | |
| download | chouette-core-1a8961555e8f674eb989f7f4af4c4a22b25856b0.tar.bz2 | |
duplicate code from models/calendar removed; coherent naming in Range#intersection
Diffstat (limited to 'spec/lib/range_ext_spec.rb')
| -rw-r--r-- | spec/lib/range_ext_spec.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/spec/lib/range_ext_spec.rb b/spec/lib/range_ext_spec.rb index 0e2365b5e..f93a8de00 100644 --- a/spec/lib/range_ext_spec.rb +++ b/spec/lib/range_ext_spec.rb @@ -1,6 +1,8 @@  RSpec.describe Range do    context "intersection" do      it "is nil (sic) for two distinct ranges" do +      require 'pry' +      binding.pry        expect( (1..2).intersection(3..4) ).to be_nil      end | 
