Skip to content

Commit

Permalink
JBEHAVE-1587 Fix typo in docs: lifecyle -> lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo authored and valfirst committed Sep 5, 2023
1 parent f990c9d commit 9cd2879
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions distribution/src/site/content/grammar.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ <h2>EBNF</h2>
; It is followed by the lifecycle elements
Lifecycle:= "Lifecycle:" LifecycleBefore? LifecycleAfter? Examples?

; The before lifecyle element identified by keyword "Before:" (or equivalent in I18n-ed locale),
; The before lifecycle element identified by keyword "Before:" (or equivalent in I18n-ed locale),
; followed by one or more steps
LifecycleBefore:= "Before:" (Scope? Step+)+

; The after lifecyle element identified by keyword "After:" (or equivalent in I18n-ed locale),
; The after lifecycle element identified by keyword "After:" (or equivalent in I18n-ed locale),
; followed by one or more sets of scope, outcome, meta filter and steps
LifecycleAfter:= "After:" (Scope? Outcome? MetaFilter? Step+)+

Expand Down
2 changes: 1 addition & 1 deletion distribution/src/site/content/lifecycle.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<h2>Lifecycle</h2>

<p>JBehave supports two main ways to control the lifecyle of a story:</p>
<p>JBehave supports two main ways to control the lifecycle of a story:</p>

<ul>
<li>Programmatically via <a href="annotations.html">annotations</a>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ GivenStories:= "GivenStories:" (StoryPath ','?)+ ;
; It is followed by the lifecycle elements
Lifecycle:= "Lifecycle:" LifecycleBefore? LifecycleAfter? Examples?

; The before lifecyle element identified by keyword "Before:" (or equivalent in I18n-ed locale),
; The before lifecycle element identified by keyword "Before:" (or equivalent in I18n-ed locale),
; followed by one or more steps
LifecycleBefore:= "Before:" Step+

; The after lifecyle element identified by keyword "After:" (or equivalent in I18n-ed locale),
; The after lifecycle element identified by keyword "After:" (or equivalent in I18n-ed locale),
; followed by one or more sets of outcome, meta filter and steps
LifecycleAfter:= "After:" (Outcome? MetaFilter? Step+)+

Expand Down

0 comments on commit 9cd2879

Please sign in to comment.