Sha256: 8a4feb61a5d8b90169262f3c490ee5d53297494223ea54fd1b6c78c386783100

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

require_relative "test_helper"

class TestPostgresql < Minitest::Test
  include TestGroupdate

  def setup
    super
    User.establish_connection adapter: "postgresql", database: "groupdate_test"
  end

  def test_no_column
    assert_raises(ArgumentError) { User.group_by_day.first }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
groupdate-2.5.2 test/postgresql_test.rb
groupdate-2.5.1 test/postgresql_test.rb