From 3f6ff8b06d4d18f7839923aaab99385af92d407a Mon Sep 17 00:00:00 2001 From: ohbarye Date: Sun, 22 Oct 2017 01:13:10 +0900 Subject: [PATCH] Fix rails version to pass tests With `gem "rails", ">= 5.0.0.racecar1", "< 5.1"`, it installs not `5.0.x` but `5.1.0rc2`. So `activerecord_5_0?` returns `false` then some tests fail. --- gemfiles/rails_5.0.gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemfiles/rails_5.0.gemfile b/gemfiles/rails_5.0.gemfile index 7ec995c..123ad55 100644 --- a/gemfiles/rails_5.0.gemfile +++ b/gemfiles/rails_5.0.gemfile @@ -2,6 +2,6 @@ source "https://rubygems.org" -gem "rails", ">= 5.0.0.racecar1", "< 5.1" +gem "rails", "~> 5.0.0" gemspec :path => "../"