spec/license_spec.rb in ronin-0.2.4 vs spec/license_spec.rb in ronin-0.3.0

- old
+ new

@@ -2,17 +2,17 @@ require 'helpers/database' describe License do it "should require name and description attributes" do - @license = License.new - @license.should_not be_valid + license = License.new + license.should_not be_valid - @license.name = 'joke' - @license.should_not be_valid + license.name = 'joke' + license.should_not be_valid - @license.description = "yep, it's a joke." - @license.should 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