features/starting_up.feature in empezar-0.3.0 vs features/starting_up.feature in empezar-0.3.1
- old
+ new
@@ -33,6 +33,19 @@
When I start the runner
Then I should have 'data' with value 89 in Configuration
And I should have 'more' with value 34 in Configuration
And I should have 8080 in 'port' in 'client'
And I should have "localhost" in 'host' in 'client'
- And I should have "/" in 'path' in 'client'
+ And I should have "/" in 'path' in 'client'
+
+@clean
+Scenario: Arguments override config file
+ Given the config file "config/main.yaml"
+ """
+ data: 70
+ """
+ And the command line arguments
+ """
+ data:89
+ """
+ When I start the runner
+ Then I should have 'data' with value 89 in Configuration
\ No newline at end of file