]> nos-oignons.net Git - gestion-adh.git/blobdiff - features/step_definitions/git.rb
Rename Subscription to Member
[gestion-adh.git] / features / step_definitions / git.rb
index 062181f068eaf1c74149c4c00e26b51299f6a2f1..8c00ff42d013818876b3d7b0463c4d6174c637ea 100644 (file)
@@ -14,9 +14,9 @@ Given /^un clone du Git contenant les adhésions$/ do
   run_simple 'git clone --quiet main clone'
   cd 'clone'
   create_dir 'Membres'
-  BASE_SUBSCRIPTIONS.each_pair do |number, data|
-    file = subscription_filename_for_id(number)
-    write_file file, render_subscription_file(data)
+  BASE_MEMBERS.each_pair do |number, data|
+    file = member_filename_for_id(number)
+    write_file file, render_member_file(data)
     run_simple "git add #{file}"
   end
   run_simple 'git commit --quiet -m "Initial data set from fixtures"'