features/needed.feature in vendorificator-0.1.1 vs features/needed.feature in vendorificator-0.2.0
- old
+ new
@@ -4,13 +4,14 @@
Given a repository with following Vendorfile:
"""ruby
archive :testrepo, :version => '0.1',
:url => 'http://test-assets.3ofcoins.net.s3-website-us-east-1.amazonaws.com/testrepo-0.1.tar.gz'
"""
- When I run "vendor sync"
+ When I successfully run `vendor sync`
Then I'm on "master" branch
- And command output includes /module\s+testrepo/
- And command output includes "testrepo-0.1.tar.gz"
- Then I run "vendor sync"
- And command output includes /module\s+testrepo/
- And command output includes /up to date\s+testrepo/
- And command output does not include "testrepo-0.1.tar.gz"
+ And the last output should match /module\s+testrepo/
+ And the last output should match "testrepo-0.1.tar.gz"
+
+ When I successfully run `vendor sync`
+ Then the last output should match /module\s+testrepo/
+ And the last output should match /up to date\s+testrepo/
+ And the last output should not match "testrepo-0.1.tar.gz"