Permalink
Browse files

add missing require and fixtures

  • Loading branch information...
1 parent 160af90 commit 1d38c82b7ad98d64f5ee45c0e08d5826e14d98c0 @tenderlove tenderlove committed Dec 29, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 activerecord/test/cases/adapters/postgresql/timestamp_test.rb
View
3 activerecord/test/cases/adapters/postgresql/timestamp_test.rb
@@ -1,7 +1,10 @@
require 'cases/helper'
require 'models/developer'
+require 'models/topic'
class TimestampTest < ActiveRecord::TestCase
+ fixtures :topics
+
def test_group_by_date
keys = Topic.group("date_trunc('month', created_at)").count.keys
assert_operator keys.length, :>, 0

0 comments on commit 1d38c82

Please sign in to comment.