Sha256: 9dd1ee1952a1b7bff5d12797f17f783c94b28694115972760904d5e95d9ecd2f

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

require_relative "test_helper"

class RedshiftTest < Minitest::Test
  include TestGroupdate
  include TestDatabase

  def setup
    super
    @@setup ||= begin
      abort("REDSHIFT_URL environment variable must be set in order to run tests") unless ENV["REDSHIFT_URL"].present?

      ActiveRecord::Base.establish_connection(ENV["REDSHIFT_URL"])

      create_redshift_tables
      true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groupdate-4.0.1 test/redshift_test.rb
groupdate-4.0.0 test/redshift_test.rb
groupdate-3.2.1 test/redshift_test.rb
groupdate-3.2.0 test/redshift_test.rb