66 ScratchPad . record [ ]
77 end
88
9- it "is executed when an exception is raised in it's corresponding begin block" do
9+ it "is executed when an exception is raised in its corresponding begin block" do
1010 -> {
1111 begin
1212 ScratchPad << :begin
1919 ScratchPad . recorded . should == [ :begin , :ensure ]
2020 end
2121
22- it "is executed when an exception is raised and rescued in it's corresponding begin block" do
22+ it "is executed when an exception is raised and rescued in its corresponding begin block" do
2323 begin
2424 ScratchPad << :begin
2525 raise "An exception occurred!"
3232 ScratchPad . recorded . should == [ :begin , :rescue , :ensure ]
3333 end
3434
35- it "is executed even when a symbol is thrown in it's corresponding begin block" do
35+ it "is executed even when a symbol is thrown in its corresponding begin block" do
3636 catch ( :symbol ) do
3737 begin
3838 ScratchPad << :begin
4747 ScratchPad . recorded . should == [ :begin , :ensure ]
4848 end
4949
50- it "is executed when nothing is raised or thrown in it's corresponding begin block" do
50+ it "is executed when nothing is raised or thrown in its corresponding begin block" do
5151 begin
5252 ScratchPad << :begin
5353 rescue
@@ -256,7 +256,7 @@ class EnsureInClassExample
256256 ScratchPad . record [ ]
257257 end
258258
259- it "is executed when an exception is raised in it's corresponding begin block" do
259+ it "is executed when an exception is raised in its corresponding begin block" do
260260 -> {
261261 eval ( <<-ruby ) . call
262262 lambda do
@@ -271,7 +271,7 @@ class EnsureInClassExample
271271 ScratchPad . recorded . should == [ :begin , :ensure ]
272272 end
273273
274- it "is executed when an exception is raised and rescued in it's corresponding begin block" do
274+ it "is executed when an exception is raised and rescued in its corresponding begin block" do
275275 eval ( <<-ruby ) . call
276276 lambda do
277277 ScratchPad << :begin
@@ -286,7 +286,7 @@ class EnsureInClassExample
286286 ScratchPad . recorded . should == [ :begin , :rescue , :ensure ]
287287 end
288288
289- it "is executed even when a symbol is thrown in it's corresponding begin block" do
289+ it "is executed even when a symbol is thrown in its corresponding begin block" do
290290 catch ( :symbol ) do
291291 eval ( <<-ruby ) . call
292292 lambda do
@@ -303,7 +303,7 @@ class EnsureInClassExample
303303 ScratchPad . recorded . should == [ :begin , :ensure ]
304304 end
305305
306- it "is executed when nothing is raised or thrown in it's corresponding begin block" do
306+ it "is executed when nothing is raised or thrown in its corresponding begin block" do
307307 eval ( <<-ruby ) . call
308308 lambda do
309309 ScratchPad << :begin
0 commit comments