Skip to content

Commit 6e3dbac

Browse files
Update test expected behavior on ReadOnlyException (#21)
1 parent c217644 commit 6e3dbac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/ReadOnlyTraitSpec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function(){
136136
});
137137
});
138138
describe("::touch()", function(){
139-
it("is expected to throw Error", function() {
139+
it("is expected to throw ReadOnlyException", function() {
140140
expect(
141141
function(){
142142
$user = new User;
@@ -145,7 +145,7 @@ function(){
145145
});
146146
});
147147
describe("::truncate()", function(){
148-
it("is expected to throw Error", function() {
148+
it("is expected to throw ReadOnlyException", function() {
149149
expect(
150150
function(){
151151
$user = new User;
@@ -154,7 +154,7 @@ function(){
154154
});
155155
});
156156
describe("::insert()", function(){
157-
it("is expected to throw Error", function() {
157+
it("is expected to throw ReadOnlyException", function() {
158158
expect(
159159
function(){
160160
$user = new User;

0 commit comments

Comments
 (0)