Skip to content

Instantly share code, notes, and snippets.

@danlucraft
Created April 26, 2009 14:37
Show Gist options
  • Save danlucraft/102049 to your computer and use it in GitHub Desktop.
Save danlucraft/102049 to your computer and use it in GitHub Desktop.
Scenario: Prompt for save new tab and click Save As shows dialog
When I press "Ctrl+T"
And I type "new tab"
And I press "Ctrl+W"
And I click the button "Save As" in the dialog "unsaved changes"
And I set the "Save As" dialog's filename to "plugins/edit_tab/features/fixtures/new_file.rb"
And I click the button "Save" in the dialog "Save As"
Then there should be no dialog called "Save As"
And the file "plugins/edit_tab/features/fixtures/new_file.rb" should contain "new tab"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment