Sha256: 8aed0fb780b5fe3df70c3cc245317ad4048cbc12cbb4a6f8f2a5de2765a58670
Contents?: true
Size: 359 Bytes
Versions: 18
Compression:
Stored size: 359 Bytes
Contents
require 'spec_helper' require 'ronin/url_scheme' describe URLScheme do before(:all) { @scheme = URLScheme.create(:name => 'http') } it "should require a name" do scheme = URLScheme.new scheme.should_not be_valid end it "should require a unique name" do scheme = URLScheme.new(:name => 'http') scheme.should_not be_valid end end
Version data entries
18 entries across 18 versions & 1 rubygems