Update test expected behavior on ReadOnlyException (#21)

This commit is contained in:
michaelachrisco 2018-03-20 10:32:09 -07:00 committed by GitHub
parent c217644206
commit 6e3dbacacc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;