jsmestad/pivotal-tracker — pull request #53 by douglasjsellers (2012-05-01 06:01:37+00:00)
Title: Found a small bug in the way that tasks are associated with stories

The following code:

PivotalTracker::Client.token = "xxxxxx"
project = PivotalTracker::Project.all.find{ |i| i.name == 'blah' }
story = project.stories.create( :name => self.title, :story_type => 'bug' )
story.notes.create(:text => "my text" )
self.features.each do |feature|
story.tasks.create( :description => feature.text )
end

Produced an error of: NoMethodError (undefined method `story=' for #)

I have repaired this problem in Task.rb and added a spec for the problem. Could you please pull the request and push a new version of the gem? Thanks!