aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library/find/prune_spec.rb
blob: 1aef7d3d23ae395099a1438a95ee86c14aea1f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path('../../../spec_helper', __FILE__)
require 'find'

describe "Find.prune" do
  it "should throw :prune" do
    msg = catch(:prune) do
      Find.prune
    end

    msg.should == nil
  end
end