Sha256: 1e91fe0442e39e671e9be6c074fab4c299c19d7415e956715ee4d2581cf9c544
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe Earl::StringInquirer do subject { Earl::StringInquirer.new 'foo' } it { should be_a( String ) } its( :foo? ){ should be_true } its( :bar? ){ should be_false } end describe Earl::URL do subject { Earl::URL.new 'http://www.foo.com' } its( :scheme ){ should be_a( Earl::StringInquirer ) } its( :subdomain ){ should be_a( Earl::StringInquirer ) } its( :host ){ should be_a( Earl::StringInquirer ) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
earl-0.2.0 | spec/earl/string_inquirer_spec.rb |
earl-0.1.0 | spec/earl/string_inquirer_spec.rb |