Sha256: 6954fdc28acb7b71b34fe1115fcfc81f1de0790a2ec5ddc0e9cd866d37da5c89
Contents?: true
Size: 752 Bytes
Versions: 4
Compression:
Stored size: 752 Bytes
Contents
require 'spec_helper' describe "Gatling::Configuration" do describe "#reference_image_path" do before do begin # Check that rails exists, otherwise fake it for the test Module.const_get("Rails") rescue NameError module Rails def self.root "fake_rails_root" end end end end it "should default to <Rails.root>/spec/reference_images" do Gatling::Configuration.reference_image_path.should eql("fake_rails_root/spec/reference_images") end it "should be overrideable" do Gatling::Configuration.reference_image_path = "my custom path" Gatling::Configuration.reference_image_path.should eql("my custom path") end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gatling-1.0.2 | spec/configuration_spec.rb |
gatling-1.0.1 | spec/configuration_spec.rb |
gatling-1.0.0 | spec/configuration_spec.rb |
gatling-0.9.9 | spec/configuration_spec.rb |