Sha256: 902ec2a5c57ee42ebed9ef040041b34ad639328b7980c284b9dde99038cd99e5
Contents?: true
Size: 574 Bytes
Versions: 3
Compression:
Stored size: 574 Bytes
Contents
require 'spec_helper' require 'ronin/software' describe Software do it "should require name and version attributes" do software = Software.new software.should_not be_valid software.name = 'Test' software.should_not be_valid software.version = '0.1.0' software.should be_valid end it "should be convertable to a String" do software = Software.new(:name => 'Test', :version => '0.1.0') software.to_s.should == 'Test 0.1.0' software.vendor = Vendor.new(:name => 'TestCo') software.to_s.should == 'TestCo Test 0.1.0' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-1.0.0.pre3 | spec/software_spec.rb |
ronin-1.0.0.pre2 | spec/software_spec.rb |
ronin-1.0.0.pre1 | spec/software_spec.rb |