File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public void Process(Story story)
1717 {
1818 scenario . TestObject = null ;
1919 foreach ( var step in scenario . Steps )
20- step . StepAction = null ;
20+ step . Action = null ;
2121 }
2222
2323 Cache . Add ( story ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace TestStack.BDDfy
66 public class Step
77 {
88 public Step (
9- Action < object > stepAction ,
9+ Action < object > action ,
1010 string title ,
1111 bool asserts ,
1212 ExecutionOrder executionOrder ,
@@ -15,14 +15,14 @@ public Step(
1515 Asserts = asserts ;
1616 ExecutionOrder = executionOrder ;
1717 ShouldReport = shouldReport ;
18- Result = BDDfy . Result . NotExecuted ;
18+ Result = Result . NotExecuted ;
1919 Id = Guid . NewGuid ( ) ;
2020 Title = title ;
21- StepAction = stepAction ;
21+ Action = action ;
2222 }
2323
2424 public Guid Id { get ; private set ; }
25- internal Action < object > StepAction { get ; set ; }
25+ internal Action < object > Action { get ; set ; }
2626 public bool Asserts { get ; private set ; }
2727 public bool ShouldReport { get ; private set ; }
2828 public string Title { get ; private set ; }
@@ -37,7 +37,7 @@ public void Execute(object testObject)
3737 Stopwatch sw = Stopwatch . StartNew ( ) ;
3838 try
3939 {
40- StepAction ( testObject ) ;
40+ Action ( testObject ) ;
4141 sw . Stop ( ) ;
4242 Duration = sw . Elapsed ;
4343 }
You can’t perform that action at this time.
0 commit comments