diff --git a/spec/ReadOnlyTraitSpec.php b/spec/ReadOnlyTraitSpec.php index ac9cdc1..40b4427 100644 --- a/spec/ReadOnlyTraitSpec.php +++ b/spec/ReadOnlyTraitSpec.php @@ -186,10 +186,12 @@ class UserReadOnlyNotActive extends MockModel } describe("UserReadOnlyNotActive", function () { - describe("::create()", function () { - it("expects `create()` to be toBeTruthy", function () { - $user = new UserReadOnlyNotActive; - expect($user->create([]))->toBeTruthy(); + context("When UserReadOnlyNotActive calls unsupported method and isActive is true", function () { + describe("::create()", function () { + it("expects `create()` to be toBeTruthy", function () { + $user = new UserReadOnlyNotActive; + expect($user->create([]))->toBeTruthy(); + }); }); }); });