We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dafe58e commit afce781Copy full SHA for afce781
lib/squcumber-postgres/step_definitions/common_steps.rb
@@ -84,15 +84,15 @@
84
silence_streams(STDERR) do
85
@sql_files_to_execute.each do |file|
86
# This overwrites the result if multiple files are executed
87
- @result = TESTING_DATABASE.exec_file(file)
+ @result = TESTING_DATABASE.exec_file(file).map { |e| e }
88
end
89
90
91
92
When(/^the SQL file "?([^\s"]+)"? is executed/) do |file|
93
94
95
- @result = TESTING_DATABASE.exec_file("#{@sql_file_path}/#{file}")
+ @result = TESTING_DATABASE.exec_file("#{@sql_file_path}/#{file}").map { |e| e }
96
97
98
0 commit comments