mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-10-31 21:33:23 -07:00
feat(spec): Testing class with isActive
This commit is contained in:
parent
98bbdf71f4
commit
a1dbc56071
1 changed files with 6 additions and 4 deletions
|
@ -186,6 +186,7 @@ class UserReadOnlyNotActive extends MockModel
|
|||
}
|
||||
|
||||
describe("UserReadOnlyNotActive", function () {
|
||||
context("When UserReadOnlyNotActive calls unsupported method and isActive is true", function () {
|
||||
describe("::create()", function () {
|
||||
it("expects `create()` to be toBeTruthy", function () {
|
||||
$user = new UserReadOnlyNotActive;
|
||||
|
@ -193,3 +194,4 @@ describe("UserReadOnlyNotActive", function () {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue