Sha256: a1b437d3027a44f568464ed5d54b68e44ac287b92eaf58460db4ab82d23527f8

Contents?: true

Size: 436 Bytes

Versions: 52

Compression:

Stored size: 436 Bytes

Contents

require 'spec_helper'

describe Jasmine::Runners::PhantomJs do
  it 'converts a given cli options hash to a cli arguments string' do
    options = {
      'local-storage-quota' => 5000,
      'local-storage-path' => 'tmp/xyz'
    }

    phantom_js = Jasmine::Runners::PhantomJs.new(nil, nil,nil,nil, nil,nil, options)

    expect(phantom_js.cli_options_string).to eq('--local-storage-quota=5000 --local-storage-path=tmp/xyz')
  end
end

Version data entries

52 entries across 39 versions & 2 rubygems

Version Path
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
jasmine-3.99.0 spec/phantom_js_spec.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
jasmine-3.10.0 spec/phantom_js_spec.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
jasmine-3.9.2 spec/phantom_js_spec.rb
jasmine-3.9.1 spec/phantom_js_spec.rb
jasmine-3.9.0 spec/phantom_js_spec.rb
jasmine-3.8.1 spec/phantom_js_spec.rb
jasmine-3.8.0 spec/phantom_js_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/spec/phantom_js_spec.rb