From 9494f8ce290fa9aec3f2151dfad00c1f4a92256c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Mon, 15 Aug 2011 11:07:11 +0200 Subject: [PATCH] Correct the Version creation. --- features/step_definitions/_given_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/_given_steps.rb b/features/step_definitions/_given_steps.rb index 246eae4ca2..d113864a1a 100644 --- a/features/step_definitions/_given_steps.rb +++ b/features/step_definitions/_given_steps.rb @@ -121,7 +121,7 @@ Given /^the [pP]roject(?: "([^\"]*)")? has the following (?:product )?(?:owner ) project = get_project(project_name) table.raw.each do |row| - version = Version.create!(:project_id => project, :name => row.first) + version = Version.create!(:project => project, :name => row.first) vs = version.version_settings.build vs.project = project