selenium-grid 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +5 -0
- data/lib/extensions.rb +1 -0
- data/lib/java.rb +1 -0
- data/lib/java/vm.rb +1 -1
- data/lib/selenium-grid.rb +1 -0
- data/lib/selenium-grid/remote.rb +0 -1
- data/lib/selenium-grid/version.rb +2 -2
- data/spec/java/vm_spec.rb +5 -0
- metadata +1 -1
data/History.txt
CHANGED
data/lib/extensions.rb
CHANGED
data/lib/java.rb
CHANGED
data/lib/java/vm.rb
CHANGED
@@ -8,8 +8,8 @@ module Java
|
|
8
8
|
command << classname
|
9
9
|
include_settings(command, options)
|
10
10
|
include_arguments(command, options)
|
11
|
-
include_background(command, options)
|
12
11
|
include_log(command, options)
|
12
|
+
include_background(command, options)
|
13
13
|
|
14
14
|
sh command.compact.join(' ')
|
15
15
|
end
|
data/lib/selenium-grid.rb
CHANGED
data/lib/selenium-grid/remote.rb
CHANGED
data/spec/java/vm_spec.rb
CHANGED
@@ -38,6 +38,11 @@ module Java
|
|
38
38
|
mock(vm).sh('java test.ClassName &')
|
39
39
|
vm.run "test.ClassName", { :background => true }
|
40
40
|
end
|
41
|
+
|
42
|
+
it "is the last option" do
|
43
|
+
mock(vm).sh("java test.ClassName > '/var/log/test.log' 2>&1 &")
|
44
|
+
vm.run "test.ClassName", {:background => true, :log => '/var/log/test.log'}
|
45
|
+
end
|
41
46
|
end
|
42
47
|
|
43
48
|
context "when the options include :classpath" do
|