Sha256: 70b41439cc3de0e639757d2b5a943fa2a2fb34fcf2874763a41a461fe481d37b

Contents?: true

Size: 423 Bytes

Versions: 19

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe RailsPGExtras do
  PG_STATS_DEPENDENT_QUERIES = %i(calls outliers)

  (RailsPGExtras::QUERIES - PG_STATS_DEPENDENT_QUERIES).each do |query_name|
    it "#{query_name} query can be executed" do
      expect do
        RailsPGExtras.run_query(
          query_name: query_name,
          in_format: :hash
        )
      end.not_to raise_error
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rails-pg-extras-1.6.0 spec/smoke_spec.rb
rails-pg-extras-1.5.3 spec/smoke_spec.rb
rails-pg-extras-1.5.2 spec/smoke_spec.rb
rails-pg-extras-1.5.1 spec/smoke_spec.rb
rails-pg-extras-1.5.0 spec/smoke_spec.rb
rails-pg-extras-1.4.0 spec/smoke_spec.rb
rails-pg-extras-1.3.1 spec/smoke_spec.rb
rails-pg-extras-1.3.0 spec/smoke_spec.rb
rails-pg-extras-1.2.4 spec/smoke_spec.rb
rails-pg-extras-1.2.3 spec/smoke_spec.rb
rails-pg-extras-1.2.2 spec/smoke_spec.rb
rails-pg-extras-1.2.1 spec/smoke_spec.rb
rails-pg-extras-1.2.0 spec/smoke_spec.rb
rails-pg-extras-1.1.0 spec/smoke_spec.rb
rails-pg-extras-1.0.0 spec/smoke_spec.rb
rails-pg-extras-0.7.0 spec/smoke_spec.rb
rails-pg-extras-0.6.2 spec/smoke_spec.rb
rails-pg-extras-0.6.1 spec/smoke_spec.rb
rails-pg-extras-0.6.0 spec/smoke_spec.rb