sauce 0.7.0 → 0.7.1

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -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
@@ -10,7 +10,11 @@ end
10
10
 
11
11
  describe "The Sauce website", :type => :selenium do
12
12
  it "works" do
13
- page.open "/"
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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 0
10
- version: 0.7.0
9
+ - 1
10
+ version: 0.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Grove