diff options
author | Rémy Coutable <remy@rymai.me> | 2017-10-09 15:23:26 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-09 15:23:26 +0300 |
commit | 781d2c22f411f492845f42b15863f4a0a5a5eaa6 (patch) | |
tree | 6a39b98a8bcb6680d47f85708bf075326dcbec2c /spec/migrations | |
parent | 1c0407e84cc2ccdafd141ed1ad9a853db07d17b3 (diff) | |
parent | 0ce6785851510ccb49f0d1edc0220aca46f815f5 (diff) |
Merge branch '37552-replace-js-true-with-js' into 'master'
Replaces `tag: true` into `:tag` in the specs
Closes #37552
See merge request gitlab-org/gitlab-ce!14653
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/update_upload_paths_to_system_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/migrations/update_upload_paths_to_system_spec.rb b/spec/migrations/update_upload_paths_to_system_spec.rb index 0a45c5ea32d..d4a1553fb0e 100644 --- a/spec/migrations/update_upload_paths_to_system_spec.rb +++ b/spec/migrations/update_upload_paths_to_system_spec.rb @@ -31,7 +31,7 @@ describe UpdateUploadPathsToSystem do end end - describe "#up", truncate: true do + describe "#up", :truncate do it "updates old upload records to the new path" do old_upload = create(:upload, model: create(:project), path: "uploads/project/avatar.jpg") @@ -41,7 +41,7 @@ describe UpdateUploadPathsToSystem do end end - describe "#down", truncate: true do + describe "#down", :truncate do it "updates the new system patsh to the old paths" do new_upload = create(:upload, model: create(:project), path: "uploads/-/system/project/avatar.jpg") |