aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-04-12 19:19:21 +0530
committerVipul A M <vipulnsward@gmail.com>2016-04-14 04:42:41 +0530
commitbbb8f518b53f1e9ef90c490f741e2eea0d993a17 (patch)
tree2856ce02cf63fe1633184bb08c194e947fa8eeff /activerecord/test
parentdb9bc8097399aab9c866175b12e9e099b6c83ffa (diff)
downloadrails-bbb8f518b53f1e9ef90c490f741e2eea0d993a17.tar.gz
rails-bbb8f518b53f1e9ef90c490f741e2eea0d993a17.tar.bz2
rails-bbb8f518b53f1e9ef90c490f741e2eea0d993a17.zip
Include running mariadb on travis
- Specify we want to run on latest stable ruby for mariadb - change in runs of builds Make mariadb? method publicly available
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/time_precision_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/time_precision_test.rb b/activerecord/test/cases/time_precision_test.rb
index 628a8eb771..c422daa859 100644
--- a/activerecord/test/cases/time_precision_test.rb
+++ b/activerecord/test/cases/time_precision_test.rb
@@ -44,6 +44,7 @@ class TimePrecisionTest < ActiveRecord::TestCase
end
def test_formatting_time_according_to_precision
+ skip("TIME column on MariaDB doesn't ignore the date part of the string when it coerces to time") if current_adapter?(:Mysql2Adapter) && ActiveRecord::Base.connection.mariadb?
@connection.create_table(:foos, force: true) do |t|
t.time :start, precision: 0
t.time :finish, precision: 4