sauce 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sauce/integrations.rb +3 -1
- data/test/saucelabs_spec.rb +5 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
data/lib/sauce/integrations.rb
CHANGED
@@ -15,8 +15,10 @@ begin
|
|
15
15
|
|
16
16
|
def execute(*args)
|
17
17
|
config = Sauce::Config.new
|
18
|
+
description = [self.class.description, self.description].join(" ")
|
18
19
|
config.browsers.each do |os, browser, version|
|
19
|
-
@selenium = Sauce::Selenium.new({:os => os, :browser => browser, :browser_version => version
|
20
|
+
@selenium = Sauce::Selenium.new({:os => os, :browser => browser, :browser_version => version,
|
21
|
+
:job_name => "#{description}"})
|
20
22
|
super(*args)
|
21
23
|
end
|
22
24
|
end
|
data/test/saucelabs_spec.rb
CHANGED
@@ -10,7 +10,11 @@ end
|
|
10
10
|
|
11
11
|
describe "The Sauce website", :type => :selenium do
|
12
12
|
it "works" do
|
13
|
-
|
13
|
+
selenium.open "/"
|
14
14
|
page.is_text_present("Sauce Labs").should be_true
|
15
15
|
end
|
16
|
+
|
17
|
+
it "has a pricing page" do
|
18
|
+
selenium.open "/pricing"
|
19
|
+
end
|
16
20
|
end
|
metadata
CHANGED