最新版でプラグインスペックを実行しようとしたところ、2つの開発インスタンスで以下のエラーが発生しています。
(テスト環境ではデータベースは完全に移行済みです):
例:bin/rake plugin:spec\[discourse-locations]
rails_helper の読み込み中にエラーが発生しました。
Failure/Error: default_scope { where(deleted_at: nil) }
ActiveRecord::StatementInvalid:
PG::UndefinedTable: ERROR: relation "chat_channels" does not exist
LINE 9: WHERE a.attrelid = '"chat_channels"'::regclass
< SNIP >
# --- Caused by: ---
# PG::UndefinedTable:
# ERROR: relation "chat_channels" does not exist
# LINE 9: WHERE a.attrelid = '"chat_channels"'::regclass