From 6e3dbacacc99ac0206c639bae2721f0f58e34cce Mon Sep 17 00:00:00 2001 From: Michael Chrisco Date: Tue, 20 Mar 2018 10:32:09 -0700 Subject: [PATCH] Update test expected behavior on ReadOnlyException (#21) --- spec/ReadOnlyTraitSpec.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/ReadOnlyTraitSpec.php b/spec/ReadOnlyTraitSpec.php index 344fd24..af7c707 100644 --- a/spec/ReadOnlyTraitSpec.php +++ b/spec/ReadOnlyTraitSpec.php @@ -136,7 +136,7 @@ describe("User", function() { }); }); describe("::touch()", function(){ - it("is expected to throw Error", function() { + it("is expected to throw ReadOnlyException", function() { expect( function(){ $user = new User; @@ -145,7 +145,7 @@ describe("User", function() { }); }); describe("::truncate()", function(){ - it("is expected to throw Error", function() { + it("is expected to throw ReadOnlyException", function() { expect( function(){ $user = new User; @@ -154,7 +154,7 @@ describe("User", function() { }); }); describe("::insert()", function(){ - it("is expected to throw Error", function() { + it("is expected to throw ReadOnlyException", function() { expect( function(){ $user = new User;