Sha256: adef86d0a9882cc00eeab51c25f2e2f6358219d052360f459425f4350a4764ac
Contents?: true
Size: 411 Bytes
Versions: 21
Compression:
Stored size: 411 Bytes
Contents
require 'spec_helper' require 'ronin/license' describe License do it "should require name and description attributes" do license = License.new license.should_not be_valid license.name = 'joke' license.should_not be_valid license.description = "yep, it's a joke." license.should be_valid end it "should provide built-in licenses"do License.cc_by.should_not be_nil end end
Version data entries
21 entries across 21 versions & 1 rubygems