We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95368f2 commit 15a2a42Copy full SHA for 15a2a42
1 file changed
t/02-basic.t
@@ -18,7 +18,7 @@ BEGIN {
18
}
19
20
21
-plan tests => 67;
+plan tests => 68;
22
23
use Wine;
24
use Recipe;
@@ -275,9 +275,11 @@ setup_dbs({
275
my $w = Wine->new(name => 'flag test', rating=> 4);
276
ok !$w->object_is_stored, "this object needs to be saved!";
277
$w->save;
278
- ok $w->object_is_stored, "this object is no saved";
+ ok $w->object_is_stored, "this object is now saved";
279
my $w2 = Wine->lookup( $w->id );
280
ok $w2->object_is_stored, "an object fetched from the database is by definition NOT ephemeral";
281
+ $w2->remove;
282
+ ok !$w2->object_is_stored, "unmarked saved";
283
284
285
END {
0 commit comments