Skip to content

Commit

Permalink
tests: update test names to match when-then schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Oct 20, 2023
1 parent abf2cc0 commit 5394212
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EventsBuilderTest {
}

@Test
fun `events builder prepares correct pageview pixel`() {
fun `when building pageview event, then build the correct one`() {
// when
val event: Map<String, Any> = sut.buildEvent(
TEST_URL,
Expand All @@ -43,7 +43,7 @@ class EventsBuilderTest {
}

@Test
fun `events builder prepares correct heartbeat pixel`() {
fun `when building heartbeat event, then build the correct one`() {
// when
val event: Map<String, Any> = sut.buildEvent(
TEST_URL,
Expand All @@ -62,7 +62,7 @@ class EventsBuilderTest {
}

@Test
fun `events builder prepares correct videostart pixel`() {
fun `when building videostart event, then build the correct one`() {
// when
val event: Map<String, Any> = sut.buildEvent(
TEST_URL,
Expand All @@ -81,7 +81,7 @@ class EventsBuilderTest {
}

@Test
fun `events builder prepares correct vheartbeat pixel`() {
fun `when building vheartbeat event, then build the correct one`() {
// when
val event: Map<String, Any> = sut.buildEvent(
TEST_URL,
Expand Down

0 comments on commit 5394212

Please sign in to comment.