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

- old
+ new

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