RB.showCharts passes sprint_id, not id

pull/6827/head
friflaj 14 years ago
parent fc35ea4e6c
commit 1507574c71
  1. 2
      features/step_definitions/_given_steps.rb

@ -43,7 +43,7 @@ end
Given /^I am viewing the burndown for (.+)$/ do |sprint_name|
@sprint = Sprint.find(:first, :conditions => ["name=?", sprint_name])
visit url_for(:controller => :rb_burndown_charts, :action => :show, :id => @sprint.id)
visit url_for(:controller => :rb_burndown_charts, :action => :show, :sprint_id => @sprint.id)
page.driver.response.status.should == 200
end

Loading…
Cancel
Save