Sha256: 74b06dda9be38893ba3b24fe2c3b5b4d29facad5017bcccb3239be05acf1ebbe
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 Bytes
Contents
# frozen_string_literal: true require "spec_helper" require "rails-sqlite-extras" describe RailsSqliteExtras do RailsSqliteExtras::QUERIES.each do |query_name| it "#{query_name} description can be read" do expect do RailsSqliteExtras.description_for( query_name: query_name, ) end.not_to raise_error end end RailsSqliteExtras::QUERIES.reject { |q| q == :kill_all }.each do |query_name| it "#{query_name} query can be executed" do expect do RailsSqliteExtras.run_query( query_name: query_name, in_format: :hash, ) end.not_to raise_error end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-sqlite-extras-0.1.0 | spec/smoke_spec.rb |
rails-sqlite-extras-0.0.2 | spec/smoke_spec.rb |