Skip to content

Commit

Permalink
Verify the specification is given to specification context
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Aug 15, 2023
1 parent 7a6f433 commit 76c7213
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ class FooSpec extends Specification {
assert method
assert !method.reflection
assert !method.name
instance.specificationContext.with {
assert currentSpec
}
}
}

Expand All @@ -251,6 +254,9 @@ class FooSpec extends Specification {
assert method
assert method.reflection
assert method.name
instance.specificationContext.with {
assert currentSpec
}
}
}

Expand All @@ -264,6 +270,9 @@ class FooSpec extends Specification {
assert method
assert !method.reflection
assert !method.name
instance.specificationContext.with {
assert currentSpec
}
}
}

Expand All @@ -277,6 +286,9 @@ class FooSpec extends Specification {
assert method
assert !method.reflection
assert !method.name
instance.specificationContext.with {
assert currentSpec
}
}
}

Expand All @@ -290,6 +302,9 @@ class FooSpec extends Specification {
assert method
assert method.reflection
assert method.name
instance.specificationContext.with {
assert currentSpec
}
}
}

Expand Down

0 comments on commit 76c7213

Please sign in to comment.