Feature: Output

  In order to open gems in my favorite editor
  As a developer using gemedit
  I want my editor started from the gem's directory

  Scenario: echoing pwd and editor args
    When I run "bundle exec gem edit bundler --editor='echo echo $(pwd)'"
    Then the output should contain "bundler"

  Scenario: echoing just the editor args
    When I run "bundle exec gem edit bundler --editor='echo echo'"
    Then the output should match /echo \.$/

Feature: Output

  In order to open gems in an editor
  As a developer using gemedit
  I want my editor started from the gem's directory

  Scenario: echoing pwd and editor args
    When I run "bundle exec gem edit bundler --editor='echo echo MYPWD-$(pwd)-MYPWD'"
    Then the output should match / MYPWD-.*bundler.*-MYPWD/

  Scenario: echoing just the editor args
    When I run "bundle exec gem edit bundler --editor='echo echo'"
    Then the output should match /echo \.$/

Make the pwd output more noticeable
Make the pwd output more noticeable
