watir-webdriver-rails 0.0.4 → 0.0.5
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.
@@ -16,7 +16,7 @@ RSpec.configure do |config|
|
|
16
16
|
|
17
17
|
config.include WatirWebdriverRails::RSpec, :example_group=>{:file_path=>/spec[\\\/](requests|integration)/}
|
18
18
|
|
19
|
-
config.after do
|
19
|
+
config.after(:each) do
|
20
20
|
if self.class.include?(WatirWebdriverRails::RSpec)
|
21
21
|
browser.clear_cookies
|
22
22
|
end
|
@@ -14,7 +14,8 @@ module WatirWebdriverRails
|
|
14
14
|
|
15
15
|
def enable_firebug(version = nil)
|
16
16
|
version ||= Selenium::WebDriver::Firefox::Profile.firebug_version
|
17
|
-
add_extension(File.expand_path("../firebug/firebug
|
17
|
+
add_extension(File.expand_path("../firebug/firebug-1.7.3.xpi", __FILE__))
|
18
|
+
add_extension(File.expand_path("../firebug/firebug-1.8.1.xpi", __FILE__))
|
18
19
|
|
19
20
|
# Prevent "Welcome!" tab
|
20
21
|
self["extensions.firebug.currentVersion"] = "999"
|
data/spec/spec_helper.rb
CHANGED
@@ -7,7 +7,7 @@ require File.expand_path("../rails/config/environment", __FILE__)
|
|
7
7
|
|
8
8
|
require 'rspec/rails'
|
9
9
|
#require 'watir-webdriver-rails'
|
10
|
-
File.expand_path("../../watir-webdriver-rails", __FILE__)
|
10
|
+
require File.expand_path("../../watir-webdriver-rails", __FILE__)
|
11
11
|
|
12
12
|
WatirWebdriverRails.host = "localhost"
|
13
13
|
WatirWebdriverRails.port = 57124
|
@@ -1,23 +1,23 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "watir-webdriver-rails/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "watir-webdriver-rails"
|
7
|
-
s.version = WatirWebdriverRails::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Tanin Na Nakorn"]
|
10
|
-
s.email = ["tanin47@gmail.com"]
|
11
|
-
s.homepage = "http://github.com/tanin47/watir-webdriver-rails"
|
12
|
-
s.summary = %q{Watir on WebDriver for Rails}
|
13
|
-
s.description = %q{WebDriver-backed Watir for Rails}
|
14
|
-
|
15
|
-
s.rubyforge_project = "watir-webdriver-rails"
|
16
|
-
|
17
|
-
s.files = `git ls-files`.split("\n")
|
18
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
-
s.require_paths = ["lib"]
|
21
|
-
|
22
|
-
s.add_dependency "watir-webdriver"
|
23
|
-
end
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "watir-webdriver-rails/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "watir-webdriver-rails"
|
7
|
+
s.version = WatirWebdriverRails::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Tanin Na Nakorn"]
|
10
|
+
s.email = ["tanin47@gmail.com"]
|
11
|
+
s.homepage = "http://github.com/tanin47/watir-webdriver-rails"
|
12
|
+
s.summary = %q{Watir on WebDriver for Rails}
|
13
|
+
s.description = %q{WebDriver-backed Watir for Rails}
|
14
|
+
|
15
|
+
s.rubyforge_project = "watir-webdriver-rails"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency "watir-webdriver"
|
23
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-webdriver-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-16 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: watir-webdriver
|
16
|
-
requirement: &
|
16
|
+
requirement: &13792104 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0
|
21
|
+
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *13792104
|
25
25
|
description: WebDriver-backed Watir for Rails
|
26
26
|
email:
|
27
27
|
- tanin47@gmail.com
|