Sha256: 6eadb29b2b0ea30718935879987eb26f7e65209c5fb1e7bfd88f0fc6c4d25c73
Contents?: true
Size: 329 Bytes
Versions: 9
Compression:
Stored size: 329 Bytes
Contents
require 'rails_helper' module Logistics module Core RSpec.describe Currency, type: :model do it 'has a valid factory' do expect(create(:currency)).to be_valid end it 'can access rates' do c = create(:currency, :with_rates) expect(c.currency_rates.count).to eq 2 end end end end
Version data entries
9 entries across 9 versions & 1 rubygems