Sha256: ed612c0e1fa93da4bf104400f8a17778e972a62ed5a9f6c64cd7cc7aea55bfb5
Contents?: true
Size: 449 Bytes
Versions: 14
Compression:
Stored size: 449 Bytes
Contents
require "spec_helper" describe Capybara::Webkit::Configuration do it "returns a hash and then prevents future modification" do Capybara::Webkit.configure do |config| config.debug = true end result = Capybara::Webkit::Configuration.to_hash expect(result).to include(debug: true) expect { Capybara::Webkit.configure {} }.to raise_error( "All configuration must take place before the driver starts" ) end end
Version data entries
14 entries across 14 versions & 1 rubygems