Skip to content

Commit

Permalink
Checking in pending tests prior to renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansobo committed Jan 20, 2008
1 parent fbbfee4 commit 725c589
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/runtime/interval_skip_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,22 @@ def confirm_containing_intervals(range, *markers)
list.insert(1..5, :b)
end

describe ", #containing" do
it "returns only :a and :b from 2 through 4" do
(2..4).should contain_markers(:a, :b)
end

it "returns only :a from 5 through 6" do
pending
(5..6).should contain_marker(:a)
end

it "returns nothing at 1 and 7" do
list.containing(1).should be_empty
list.containing(7).should be_empty
end
end

describe " #nodes[0]" do
before do
@node = list.nodes[0]
Expand Down

0 comments on commit 725c589

Please sign in to comment.