From 83f11acd6607fd2383250ba884eb84202f07f266 Mon Sep 17 00:00:00 2001 From: Lucas Hosseini Date: Mon, 31 Aug 2015 05:46:04 +0200 Subject: [PATCH] Add Gemfile dependencies to ActiveRecord and sqlite3. --- Gemfile | 6 ++++++ test/fixtures/active_record.rb | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index ad21ffae..e0a4364c 100644 --- a/Gemfile +++ b/Gemfile @@ -25,5 +25,11 @@ else gem 'actionpack', gem_version end +group :test do + gem 'activerecord' + gem 'sqlite3', platform: :ruby + gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby +end + # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/test/fixtures/active_record.rb b/test/fixtures/active_record.rb index e5029c30..ab3e4d85 100644 --- a/test/fixtures/active_record.rb +++ b/test/fixtures/active_record.rb @@ -37,7 +37,6 @@ module ARModels class PostSerializer < ActiveModel::Serializer attributes :id, :title, :body - params :title, :body has_many :comments belongs_to :author