summaryrefslogtreecommitdiff
path: root/spec/support/fake_migration_classes.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-06-12 19:19:00 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-06-26 17:49:30 +0200
commitd6a0c288c89765fa8f0e96aedefc608dd7025491 (patch)
tree3509b6488eace44f18ed7cdf8242ffdd1a58de30 /spec/support/fake_migration_classes.rb
parent229ac39a4c7f7cc4fa207ffa1c826e114df2906a (diff)
downloadgitlab-ce-d6a0c288c89765fa8f0e96aedefc608dd7025491.tar.gz
Use the migration name as a key in redis
Diffstat (limited to 'spec/support/fake_migration_classes.rb')
-rw-r--r--spec/support/fake_migration_classes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/fake_migration_classes.rb b/spec/support/fake_migration_classes.rb
index 33cd1043132..b0fc8422857 100644
--- a/spec/support/fake_migration_classes.rb
+++ b/spec/support/fake_migration_classes.rb
@@ -4,4 +4,8 @@ class FakeRenameReservedPathMigrationV1 < ActiveRecord::Migration
def version
'20170316163845'
end
+
+ def name
+ "FakeRenameReservedPathMigrationV1"
+ end
end