This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # features/support/paths.rb | |
| module NavigationHelpers | |
| # Maps a name to a path. Used by the | |
| # | |
| # When /^I go to (.+)$/ do |page_name| | |
| # | |
| # step definition | |
| # | |
| def path_to(page_name) | |
| case page_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # features/support/paths.rb | |
| module NavigationHelpers | |
| # Maps a name to a path. Used by the | |
| # | |
| # When /^I go to (.+)$/ do |page_name| | |
| # | |
| # step definition | |
| # | |
| def path_to(page_name) | |
| case page_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Download stories of a Pivotal Tracker project. | |
| You need the project ID (an int) and your API token. The latter can be | |
| obtained in ``https://www.pivotaltracker.com/profile``, or using curl:: | |
| $ curl -u username:password -X GET https://www.pivotaltracker.com/services/v3/tokens/active | |
| """ | |
| import getpass | |
| import pickle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Vim functions to run RSpec and Cucumber on the current file and optionally on | |
| " the spec/scenario under the cursor. | |
| function! RailsScriptIfExists(name) | |
| " Bundle exec | |
| if isdirectory(".bundle") || (exists("b:rails_root") && isdirectory(b:rails_root . "/.bundle")) | |
| return "bundle exec " . a:name | |
| " System Binary | |
| else | |
| return a:name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @mixin ie6 { * html & { @content } } | |
| #logo { | |
| background-image: url("/images/logo.png"); | |
| @include ie6 { background-image: url("/images/logo.gif"); } | |
| } |
NewerOlder