Sha256: 9213eb2bad2e305bf5d52d01a6cf8ee7825b0566992ca99f570a2a1bdbaf8db8
Contents?: true
Size: 652 Bytes
Versions: 7
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RailsPGExtras do RailsPGExtras::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 it "runs the custom methods" do expect do RailsPGExtras.diagnose(in_format: :hash) end.not_to raise_error expect do RailsPGExtras.index_info(in_format: :hash) end.not_to raise_error expect do RailsPGExtras.table_info(in_format: :hash) end.not_to raise_error end end
Version data entries
7 entries across 7 versions & 1 rubygems