Sha256: dbdc29d97fd551a23cb2344b1617fd6c298fe285dffd194816bd0364eecbe742
Contents?: true
Size: 535 Bytes
Versions: 30
Compression:
Stored size: 535 Bytes
Contents
require 'spec_helper' describe Locomotive::Extensions::Site::SubdomainDomains do describe '#subdomain=' do let(:site) { Locomotive::Site.new } it 'downcases the subdomain' do site.subdomain = 'MiXeDCaSe' site.subdomain.should == 'mixedcase' end end describe '#domains=' do let(:site) { Locomotive::Site.new } it 'downcases the domains' do site.domains = ['FIRST.com', 'second.com', 'THIRD.com'] site.domains.should == ['first.com', 'second.com', 'third.com'] end end end
Version data entries
30 entries across 30 versions & 1 rubygems