Skip to content
This repository
Browse code

add missing require and fixtures

  • Loading branch information...
commit 1d38c82b7ad98d64f5ee45c0e08d5826e14d98c0 1 parent 160af90
Aaron Patterson tenderlove authored
3  activerecord/test/cases/adapters/postgresql/timestamp_test.rb
... ... @@ -1,7 +1,10 @@
1 1 require 'cases/helper'
2 2 require 'models/developer'
  3 +require 'models/topic'
3 4
4 5 class TimestampTest < ActiveRecord::TestCase
  6 + fixtures :topics
  7 +
5 8 def test_group_by_date
6 9 keys = Topic.group("date_trunc('month', created_at)").count.keys
7 10 assert_operator keys.length, :>, 0

0 comments on commit 1d38c82

Please sign in to comment.
Something went wrong with that request. Please try again.