removed uncalled method create_role_in_project from cucumber helpers

pull/6827/head
Stephan Eckardt 14 years ago
parent b4c81bd30c
commit 059d52fdfb
  1. 13
      features/step_definitions/helpers.rb

@ -34,19 +34,6 @@ def initialize_impediment_params(project, sprint, user = User.find(:first))
params
end
def create_role_in_project
role = Role.find(:first, :conditions => "name='Manager'")
@user.memberships.destroy_all
membership = @user.memberships.create(:project_id => @project)
require 'ruby-debug'; debugger
membership.member_roles << MemberRole.new(:role => role)
membership.save!
role
end
def task_position(task)
p1 = task.story.tasks.select{|t| t.id == task.id}[0].rank
p2 = task.rank

Loading…
Cancel
Save