polonium 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -1
- data/Rakefile +2 -2
- data/lib/polonium/adapters/rspec.rb +6 -6
- data/lib/polonium/test_case.rb +1 -1
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
* Fixed integration issues rspec 1.1.11.
|
2
|
+
|
1
3
|
0.2.2
|
2
4
|
* fixed a bug that was preventing webrick server runner to start [Jeremy Lightsmith]
|
3
5
|
|
@@ -21,4 +23,4 @@
|
|
21
23
|
* Added SeleniumDriver which holds most of the polling methods
|
22
24
|
|
23
25
|
0.0.1
|
24
|
-
* Initial Release. More documentation to come.
|
26
|
+
* Initial Release. More documentation to come.
|
data/Rakefile
CHANGED
@@ -30,9 +30,9 @@ class Spec::Runner::Options
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
unless Polonium::Configuration.instance.app_server_runner
|
35
|
-
app_server_runner = Polonium::Configuration.instance.create_app_server_runner
|
36
|
-
app_server_runner.start
|
37
|
-
end
|
38
|
-
end
|
33
|
+
#Polonium::TestCase.before(:all) do
|
34
|
+
# unless Polonium::Configuration.instance.app_server_runner
|
35
|
+
# app_server_runner = Polonium::Configuration.instance.create_app_server_runner
|
36
|
+
# app_server_runner.start
|
37
|
+
# end
|
38
|
+
#end
|
data/lib/polonium/test_case.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Polonium
|
2
2
|
# The Test Case class that runs your Selenium tests.
|
3
3
|
# You are able to use all methods provided by Selenium::SeleneseInterpreter with some additions.
|
4
|
-
class TestCase < Test::Unit::TestCase
|
4
|
+
class TestCase < defined?(ActiveSupport::TestCase) ? ActiveSupport::TestCase : Test::Unit::TestCase
|
5
5
|
class << self
|
6
6
|
unless Object.const_defined?(:RAILS_ROOT)
|
7
7
|
attr_accessor :use_transactional_fixtures, :use_instantiated_fixtures
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polonium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal Labs
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-07-10 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|