Created
November 16, 2011 19:37
-
-
Save joncooper/1371094 to your computer and use it in GitHub Desktop.
lorem-tracker.rb
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
| PivotalTracker::Client.token = API_TOKEN | |
| @tracker_project = PivotalTracker::Project.find(PROJECT_ID) | |
| fake_story = { | |
| :name => 'This is a story title.', | |
| :story_type => 'feature', | |
| :current_state => 'unstarted', | |
| :labels => ['label1', 'label2'], | |
| :description => 'This is the story description. Blah blah blah.', | |
| :estimate => 1 | |
| } | |
| @tracker_project.stories.create(fake_story) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment