diff --git a/spec/chrono_model/adapter/migrations_spec.rb b/spec/chrono_model/adapter/migrations_spec.rb index afe3032..514ed58 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