Sha256: 8aa7d05087912036d0d913cac0a654c3fddfedc959e5ff828eea80d9c547f852
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
require 'spec_helper' require 'ronin/license' describe License do describe "validations" do it "should require name and description attributes" do expect(subject).not_to be_valid subject.name = 'joke' expect(subject).not_to be_valid subject.description = "yep, it's a joke." expect(subject).to be_valid end end describe "predefined licenses" do subject { described_class } it "should provide built-in licenses"do expect(subject.cc_by).not_to be_nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-1.5.1 | spec/license_spec.rb |