Sha256: 63f75115144a9d3320110a813254d125ff4c7b7735bb82770e484082da69f900

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

require 'rails_helper'

describe License do
  let(:license) { create(:license) }
  describe '.options_for_select' do
    it 'gives an array' do
      license
      expect(License.options_for_select.first).to eq ["License Name (LN)", license.id]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
homesteading_publisher-0.1.2 spec/models/homesteading/license_spec.rb
homesteading_publisher-0.1.1 spec/models/homesteading/license_spec.rb
homesteading_publisher-0.1.0 spec/models/homesteading/license_spec.rb
homesteading_publisher-0.0.11 spec/models/homesteading/license_spec.rb