Sha256: 13ec3070b853692890570b28703010a0ab4df253db2109a81a303ed62f8eb9ec

Contents?: true

Size: 254 Bytes

Versions: 20

Compression:

Stored size: 254 Bytes

Contents

require 'spec_helper'

RSpec.describe 'Fish0 Models' do
  it 'has default primary key' do
    expect(Article.primary_key).to eq(:slug)
  end

  it 'can override primary key' do
    expect(ArticleId.primary_key).to eq(:id)
  end

  it 'has cache key'
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
test_fish0-0.2.0 spec/models/model_spec.rb
fish0-0.2.0 spec/models/model_spec.rb
fish0-0.1.2 spec/models/model_spec.rb
fish0-0.1.1 spec/models/model_spec.rb
fish0-0.1.0 spec/models/model_spec.rb
fish0-0.0.18 spec/models/model_spec.rb
fish0-0.0.17 spec/models/model_spec.rb
fish0-0.0.16 spec/models/model_spec.rb
fish0-0.0.15 spec/models/model_spec.rb
fish0-0.0.14 spec/models/model_spec.rb
fish0-0.0.13 spec/models/model_spec.rb
fish0-0.0.12 spec/models/model_spec.rb
fish0-0.0.11 spec/models/model_spec.rb
fish0-0.0.10 spec/models/model_spec.rb
fish0-0.0.9 spec/models/model_spec.rb
fish0-0.0.8 spec/models/model_spec.rb
fish0-0.0.7 spec/models/model_spec.rb
fish0-0.0.6 spec/models/model_spec.rb
fish0-0.0.5 spec/models/model_spec.rb
fish0-0.0.4 spec/models/model_spec.rb