Sha256: 7eda3fac2d77e298a71679363fb227937602ee81c673836ede62b1876b0c685d

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

require_relative "test_helper"

class TestRedshift < 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-3.1.1 test/redshift_test.rb
groupdate-3.1.0 test/redshift_test.rb
groupdate-3.0.2 test/redshift_test.rb
groupdate-3.0.1 test/redshift_test.rb