block_callbacks.feature 728 B

123456789101112131415
  1. @block_callbacks
  2. Feature: Run block callbacks
  3. In order to write my application recipe
  4. As a recipe developer
  5. I want my callbacks to be called
  6. Scenario: Deploy a basic app
  7. Given a new server
  8. Then the "/var/www/block_callbacks" directory should exist
  9. And the "/var/www/block_callbacks/shared" directory should exist
  10. And the "/var/www/block_callbacks/releases/0b60046431d14b6615d53ae6d8bd0ac62ae3eb6f" directory should exist
  11. And the "/tmp/block_callbacks/before_deploy" file should exist
  12. And it should contain a line matching "release_path /var/www/block_callbacks/releases/0b60046431d14b6615d53ae6d8bd0ac62ae3eb6f"
  13. And it should contain a line matching "shared_path /var/www/block_callbacks/shared"