Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Pending feature for db:data:load using git changes for fixtures

  • Loading branch information...
commit 5b8fb2718c1a840d729bbb2e8dc8af6258459f7b 1 parent 5f1e1c2
@ianwhite authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 features/load/load_git_changes.feature
View
19 features/load/load_git_changes.feature
@@ -0,0 +1,19 @@
+Feature: Figure out git changes since last load
+ In order to speed up loading, when using a git based dump
+ I want to be able to load fixtures changes since last load
+
+ Scenario: rake db:data:load FIXTURES_FILE=filename loads fixtures in file
+
+ Scenario: rake db:data:load SINCE_REF=<git ref> loads fixtures since then
+
+ Scenario: rake db:data:load SINCE_REF=<git ref> borks if DUMP_PATH aint a git repo
+
+ Scenario: rake db:data:load SINCE_LAST_LOAD=true loads fixtures since last load
+
+ Scenario: rake db:data:load SINCE_LAST_LOAD=true borks if no last_load_ref exists in DUMP_PATH
+
+ Scenario: rake db:data:load creates a last_load_ref in DUMP_PATH
+
+ Scenario: rake db:data:load WRITE_LAST_LOAD_REF=false doesn't create a last_load_ref
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.