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