testingbot 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -218,6 +218,7 @@ module TestingBot
218
218
  attr_reader :browser
219
219
 
220
220
  def run(*args, &blk)
221
+ return if @method_name.to_s == "default_test"
221
222
  if TestingBot.get_config.desired_capabilities.instance_of?(Array)
222
223
  TestingBot.get_config.desired_capabilities.each do |browser|
223
224
  @browser = ::Selenium::Client::Driver.new(:browser => browser[:browserName], :url => TestingBot.get_config[:browserUrl])
@@ -262,7 +263,6 @@ begin
262
263
  require 'test/unit/testcase'
263
264
  module TestingBot
264
265
  class TestCase < Test::Unit::TestCase
265
- undef_method :default_test
266
266
  include SeleniumForTestUnit
267
267
  end
268
268
  end
@@ -1,3 +1,3 @@
1
1
  module Testingbot
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,79 +1,104 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: testingbot
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 3
10
+ version: 0.1.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jochen Delabie
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-06-12 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-06-12 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: json
16
- requirement: &70240239906940 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
22
32
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70240239906940
25
- - !ruby/object:Gem::Dependency
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
26
35
  name: net-http-persistent
27
- requirement: &70240239906520 !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
28
38
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
33
46
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70240239906520
36
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
37
49
  name: selenium-webdriver
38
- requirement: &70240239906100 !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
39
52
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
44
60
  type: :runtime
45
- prerelease: false
46
- version_requirements: *70240239906100
47
- - !ruby/object:Gem::Dependency
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
48
63
  name: rspec
49
- requirement: &70240239905580 !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
50
66
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 43
71
+ segments:
72
+ - 2
73
+ - 9
74
+ - 0
54
75
  version: 2.9.0
55
76
  type: :development
56
- prerelease: false
57
- version_requirements: *70240239905580
58
- - !ruby/object:Gem::Dependency
77
+ version_requirements: *id004
78
+ - !ruby/object:Gem::Dependency
59
79
  name: rake
60
- requirement: &70240239905160 !ruby/object:Gem::Requirement
80
+ prerelease: false
81
+ requirement: &id005 !ruby/object:Gem::Requirement
61
82
  none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
65
- version: '0'
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
66
90
  type: :development
67
- prerelease: false
68
- version_requirements: *70240239905160
91
+ version_requirements: *id005
69
92
  description: This gem makes using our Selenium grid on testingbot.com easy
70
- email:
93
+ email:
71
94
  - info@testingbot.com
72
- executables:
95
+ executables:
73
96
  - testingbot
74
97
  extensions: []
98
+
75
99
  extra_rdoc_files: []
76
- files:
100
+
101
+ files:
77
102
  - .gitignore
78
103
  - .travis.yml
79
104
  - Gemfile
@@ -113,29 +138,38 @@ files:
113
138
  - vendor/Testingbot-Tunnel.jar
114
139
  homepage: http://www.testingbot.com
115
140
  licenses: []
141
+
116
142
  post_install_message:
117
143
  rdoc_options: []
118
- require_paths:
144
+
145
+ require_paths:
119
146
  - lib
120
- required_ruby_version: !ruby/object:Gem::Requirement
147
+ required_ruby_version: !ruby/object:Gem::Requirement
121
148
  none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ hash: 3
153
+ segments:
154
+ - 0
155
+ version: "0"
156
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
157
  none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ hash: 3
162
+ segments:
163
+ - 0
164
+ version: "0"
132
165
  requirements: []
166
+
133
167
  rubyforge_project: testingbot
134
168
  rubygems_version: 1.8.10
135
169
  signing_key:
136
170
  specification_version: 3
137
171
  summary: Ruby Gem to be used with testingbot.com
138
- test_files:
172
+ test_files:
139
173
  - spec/integration/api_spec.rb
140
174
  - spec/integration/selenium1_spec.rb
141
175
  - spec/integration/selenium2_spec.rb