Sha256: 3451b8da00f5fde5208a9372cd0b2f3793106110d2bea7591106fb9feca61434

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

require 'spec_helper'
require 'rails_helper'

RSpec.describe StaticRecord::Querying, :type => :model do
  it 'delegates requests to StaticRecord::Relation' do
    expect(Article.where(author: 'The author')).to be_a(StaticRecord::Relation)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
static-record-1.0.0.pre.2 spec/models/static_record/querying_spec.rb
static-record-1.0.0.pre.1 spec/models/static_record/querying_spec.rb
static-record-1.0.0.pre spec/models/static_record/querying_spec.rb