Skip to content

Commit

Permalink
Add Gemfile dependencies to ActiveRecord and sqlite3.
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby committed Aug 31, 2015
1 parent b175b04 commit 83f11ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]
1 change: 0 additions & 1 deletion test/fixtures/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Author < ActiveRecord::Base

class PostSerializer < ActiveModel::Serializer
attributes :id, :title, :body
params :title, :body

has_many :comments
belongs_to :author
Expand Down

0 comments on commit 83f11ac

Please sign in to comment.