Sha256: 3746e33fbfbfcfc2c0eb734ab815a6d3de30215888fcc44ecab490552abc925d
Contents?: true
Size: 424 Bytes
Versions: 29
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' describe Shutl::Resource do describe '#configure' do it "allows for configuration of the base uri" do Shutl::Resource.configure do |config| config.base_uri = 'base uri' end Shutl::Resource.base_uri.should == 'base uri' #set it back to not corrupt other tests Shutl::Resource.configure do |config| config.base_uri = nil end end end end
Version data entries
29 entries across 29 versions & 1 rubygems