Skip to content

Commit

Permalink
Restore Thread.abort_on_exception state.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Feb 21, 2013
1 parent 13f4e23 commit f935627
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/ruby/core/thread/abort_on_exception_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@
end

describe "Thread.abort_on_exception" do
before do
@abort_on_exception = Thread.abort_on_exception
end

after do
Thread.abort_on_exception = @abort_on_exception
end

it "is false by default" do
Thread.abort_on_exception.should == false
end
Expand Down

0 comments on commit f935627

Please sign in to comment.