Skip to content

Commit

Permalink
Merge pull request #15 from jhoblitt/feature/jar_2.42.1
Browse files Browse the repository at this point in the history
update default selenium jar version to 2.42.1
  • Loading branch information
Joshua Hoblitt committed May 31, 2014
2 parents c46f6eb + 3adad1c commit d9efd4d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class { 'selenium':
group => 'selenium',
install_root => '/opt/selenium',
java => 'java',
version => '2.41.0',
version => '2.42.1',
url => undef,
download_timeout => '90',
}
Expand Down Expand Up @@ -228,7 +228,7 @@ The path of the `java` interpreter to use.

##### `version`

`String` defaults to: `2.41.0` (the latest release as of 2014-05-22)
`String` defaults to: `2.42.1` (the latest release as of 2014-05-31)

The version of Selenium Server to download. Used to form the URL used to fetch
the jar file.
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$hub_options = '-role hub'
$node_options = "${server_options} -role node"
$java = 'java'
$version = '2.41.0'
$version = '2.42.1'
$default_hub = 'http://localhost:4444/grid/register'
$download_timeout = '90'

Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/selenium_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class { 'selenium': }
it { should be_linked_to '/opt/selenium/log' }
end

describe file('/opt/selenium/jars/selenium-server-standalone-2.41.0.jar') do
describe file("/opt/selenium/jars/selenium-server-standalone-#{DEFAULT_VERSION}.jar") do
it { should be_file }
it { should be_owned_by 'selenium' }
it { should be_grouped_into 'selenium' }
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require 'puppetlabs_spec_helper/module_spec_helper'
require 'spec_helper_common'
1 change: 1 addition & 0 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'beaker-rspec/spec_helper'
require 'beaker-rspec/helpers/serverspec'
require 'spec_helper_common'

unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no'
if hosts.first.is_pe?
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper_common.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DEFAULT_VERSION = '2.42.1'
2 changes: 1 addition & 1 deletion spec/unit/classes/selenium_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:group => 'selenium',
:install_root => '/opt/selenium',
:java => 'java',
:version => '2.41.0',
:version => DEFAULT_VERSION,
:url => '',
:download_timeout => '90',
}
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/defines/selenium_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:display => ':0',
:user => 'selenium',
:install_root => '/opt/selenium',
:jar_name => 'selenium-server-standalone-2.41.0.jar',
:jar_name => "selenium-server-standalone-#{DEFAULT_VERSION}.jar",
:options => '-Dwebdriver.enable.native.events=1',
:java => 'java',
}
Expand Down

0 comments on commit d9efd4d

Please sign in to comment.