spec/licensee/license_field_spec.rb in licensee-9.3.0 vs spec/licensee/license_field_spec.rb in licensee-9.3.1

- old
+ new

@@ -53,6 +53,11 @@ it 'stores and exposes values' do field = described_class.new('foo', 'bar') expect(field.name).to eql('foo') expect(field.description).to eql('bar') end + + it "doesn't error for licenses without bodies" do + other = Licensee::License.find('other') + expect(other.fields).to be_empty + end end