Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add missing require and fixtures

  • Loading branch information...
commit 1d38c82b7ad98d64f5ee45c0e08d5826e14d98c0 1 parent 160af90
Aaron Patterson tenderlove authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  activerecord/test/cases/adapters/postgresql/timestamp_test.rb
3  activerecord/test/cases/adapters/postgresql/timestamp_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.