Skip to content

Business intelligence made simple

Fixed CI

Andrew Kane00a603984827
diff --git a/test/support/line_items.csv b/test/support/line_items.csv
index 4bb2415a..15164209 100644
--- a/test/support/line_items.csv
+++ b/test/support/line_items.csv
@@ -1,4 +1,4 @@
a,b,c,d,e,f
-1,1.1,2021-01-01T00:00:00Z,2021-01-01,one,1
-2,2,2021-01-02T00:00:00Z,2021-01-02,two,1.1
-3,3,2021-01-03T00:00:00Z,2021-01-03,three,2021-01-01
+1,1.1,2021-01-01 00:00:00,2021-01-01,one,1
+2,2,2021-01-02 00:00:00,2021-01-02,two,1.1
+3,3,2021-01-03 00:00:00,2021-01-03,three,2021-01-01
diff --git a/test/uploads_test.rb b/test/uploads_test.rb
index f4b0d978..54e04ece 100644
--- a/test/uploads_test.rb
+++ b/test/uploads_test.rb
@@ -68,7 +68,11 @@ class UploadsTest < ActionDispatch::IntegrationTest
def test_malformed_csv
create_upload(file: "malformed.csv")
assert_response :unprocessable_entity
- assert_match "Unclosed quoted field in line 1", response.body
+ if RUBY_VERSION.to_f >= 2.6
+ assert_match "Unclosed quoted field in line 1", response.body
+ else
+ assert_match "Unclosed quoted field on line 1", response.body
+ end
end
def test_duplicate_columns