features/upload_command.feature in berkshelf-2.0.10 vs features/upload_command.feature in berkshelf-2.0.11

- old
+ new

@@ -314,5 +314,34 @@ Then the output should contain: """ Uploading fake (0.0.0) """ And the exit status should be 0 + Scenario: When the syntax check is skipped + Given a cookbook named "fake" + And the cookbook "fake" has the file "recipes/default.rb" with: + """ + Totally not valid Ruby syntax + """ + And the cookbook "fake" has the file "templates/default/file.erb" with: + """ + <% for %> + """ + And the cookbook "fake" has the file "recipes/template.rb" with: + """ + template "/tmp/wadus" do + source "file.erb" + end + """ + And the cookbook "fake" has the file "Berksfile" with: + """ + site :opscode + + metadata + """ + And I cd to "fake" + When I successfully run `berks upload --skip-syntax-check` + Then the output should contain: + """ + Using fake (0.0.0) from metadata + Uploading fake (0.0.0) to: 'http://localhost:4000/' + """