spec/features/functions/migrations_spec.rb in fx-0.2.0 vs spec/features/functions/migrations_spec.rb in fx-0.3.0

- old
+ new

@@ -1,10 +1,10 @@ require "spec_helper" describe "Function migrations", :db do around do |example| - sql_definition = <<~EOS + sql_definition = <<-EOS CREATE OR REPLACE FUNCTION test() RETURNS text AS $$ BEGIN RETURN 'test'; END; @@ -38,10 +38,10 @@ end it "can run migrations that updates functions" do connection.create_function(:test) - sql_definition = <<~EOS + sql_definition = <<-EOS CREATE OR REPLACE FUNCTION test() RETURNS text AS $$ BEGIN RETURN 'testest'; END;