Skip to content

Commit

Permalink
Update test expected behavior on ReadOnlyException (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelachrisco authored Mar 20, 2018
1 parent c217644 commit 6e3dbac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/ReadOnlyTraitSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function(){
});
});
describe("::touch()", function(){
it("is expected to throw Error", function() {
it("is expected to throw ReadOnlyException", function() {
expect(
function(){
$user = new User;
Expand All @@ -145,7 +145,7 @@ function(){
});
});
describe("::truncate()", function(){
it("is expected to throw Error", function() {
it("is expected to throw ReadOnlyException", function() {
expect(
function(){
$user = new User;
Expand All @@ -154,7 +154,7 @@ function(){
});
});
describe("::insert()", function(){
it("is expected to throw Error", function() {
it("is expected to throw ReadOnlyException", function() {
expect(
function(){
$user = new User;
Expand Down

0 comments on commit 6e3dbac

Please sign in to comment.