From 468274c5d1dbefc081d179550794d8edeae74c63 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Tue, 31 Dec 2013 16:11:32 +0100 Subject: [PATCH] fix tests for ruby 2.1 and add 2.1 to ci test matrix --- .travis.yml | 1 + test/fixtures/recurring_todos.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a8879b52..c01776a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: ruby rvm: - 1.9.3 - 2.0.0 + - 2.1 before_install: - "mysql -e 'create database tracks_test;'" diff --git a/test/fixtures/recurring_todos.yml b/test/fixtures/recurring_todos.yml index 6b22bde7..ebbb188f 100644 --- a/test/fixtures/recurring_todos.yml +++ b/test/fixtures/recurring_todos.yml @@ -20,7 +20,7 @@ def two_weeks_hence end def way_back - Time.zone.local(2008,1,1) + Time.zone.local(2008,1,1).to_s(:db) end %>