From 0081b1f5bbdd596746ba345a388c28bfc1e949c6 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 6 Dec 2024 18:50:34 +0100 Subject: [PATCH] Fix change_table spec The intent was to use `change_table`, instead it was using `add_column` --- spec/chrono_model/adapter/migrations_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/chrono_model/adapter/migrations_spec.rb b/spec/chrono_model/adapter/migrations_spec.rb index afe30321..514ed58c 100644 --- a/spec/chrono_model/adapter/migrations_spec.rb +++ b/spec/chrono_model/adapter/migrations_spec.rb @@ -146,8 +146,8 @@ with_plain_table do before do - adapter.change_table table do |_t| - adapter.add_column table, :frupper, :string + adapter.change_table table do |t| + t.string :frupper end end