Sha256: 5ff18942c4727516929eaf3114bb5d9419304d049a3eec6988150d63982d2fe8
Contents?: true
Size: 620 Bytes
Versions: 13
Compression:
Stored size: 620 Bytes
Contents
require 'spec_helper' describe Creeper::Session do it "parses BEANSTALK_URL" do ENV['BEANSTALK_URL'] = "beanstalk://localhost:12300" Creeper::Session.new.beanstalk_addresses.should == ["localhost:12300"] ENV['BEANSTALK_URL'] = "beanstalk://localhost:12300/, beanstalk://localhost:12301/" Creeper::Session.new.beanstalk_addresses.should == ["localhost:12300","localhost:12301"] ENV['BEANSTALK_URL'] = "beanstalk://localhost:12300 beanstalk://localhost:12301" Creeper::Session.new.beanstalk_addresses.should == ["localhost:12300","localhost:12301"] ENV['BEANSTALK_URL'] = nil end end
Version data entries
13 entries across 13 versions & 1 rubygems