Sha256: b063974b79acb718adfeceaa7e3cda8df62cbbac65feaa8973f3ba58834744b7
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 Bytes
Contents
require 'spec_helper' describe "Main layout", :type => :controller do before(:all) do RMceUploadr::Image.stub!(:all).and_return([]) app.set :cdn_host, "http://mycdn.host.com/" end it "should set javascript global cdn host variable" do get '/rmce_uploadr/images' last_response.body.should =~ /var +uploadrCdnHost += +["']http:\/\/mycdn\.host\.com\/["'];/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rmce_uploadr-0.0.3 | spec/layout_spec.rb |