From 7ed98af7eec4c037a087d6878b50c2ca4dd6cc59 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 8 May 2018 16:19:34 +0200 Subject: [PATCH] Folllow up for issue #1977 - recent_views fk already exists (no test needed). --- .../issue_1977_remove_invalid_user_foreign_keys_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/db/migrate/issue_1977_remove_invalid_user_foreign_keys_spec.rb b/spec/db/migrate/issue_1977_remove_invalid_user_foreign_keys_spec.rb index 48c1c46ff..8ab5722dd 100644 --- a/spec/db/migrate/issue_1977_remove_invalid_user_foreign_keys_spec.rb +++ b/spec/db/migrate/issue_1977_remove_invalid_user_foreign_keys_spec.rb @@ -70,12 +70,4 @@ RSpec.describe Issue1977RemoveInvalidUserForeignKeys, type: :db_migration do end end - context 'no recent_views foreign key' do - self.use_transactional_tests = false - - it 'adds RecentView#created_by_id foreign key' do - adds_foreign_key(:recent_views, column: :created_by_id) - end - end - end