Sha256: f334d378fb16c924c7848202bd23abd846a77cf2c69ce4554e9f015166d71d76

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe G5Updatable::BelongsToLocation, type: :model do
  subject { FavoriteFood.new }

  it do
    is_expected.to belong_to(:location).class_name('G5Updatable::Location')
      .with_foreign_key(:location_uid).with_primary_key(:uid)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
g5_updatable-1.0.2.pre.1 spec/concerns/g5_updatable/belongs_to_location_spec.rb