tddium_reporting 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tddium_reporting/spec_runner.rb +11 -0
- data/lib/tddium_reporting/version.rb +1 -1
- data/lib/tddium_reporting.rb +4 -3
- metadata +3 -2
data/lib/tddium_reporting.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# Copyright (c) 2011 Solano Labs All Rights Reserved
|
2
2
|
require File.expand_path(File.dirname(__FILE__) + "/tddium_reporting/system_capture")
|
3
|
+
require File.expand_path(File.dirname(__FILE__) + "/tddium_reporting/spec_runner")
|
3
4
|
|
4
|
-
runner = defined?(RSpec) ? RSpec : Spec::Runner
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
spec_runner = TddiumReporting::SpecRunner.runner
|
7
|
+
if spec_runner && ENV["TDDIUM"]
|
8
|
+
spec_runner.configure do |config|
|
8
9
|
config.after(:each) do
|
9
10
|
if defined?(selenium_driver)
|
10
11
|
begin
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: tddium_reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Solano Labs
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-09-11 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -46,6 +46,7 @@ extra_rdoc_files: []
|
|
46
46
|
|
47
47
|
files:
|
48
48
|
- lib/tddium_reporting.rb
|
49
|
+
- lib/tddium_reporting/spec_runner.rb
|
49
50
|
- lib/tddium_reporting/system_capture.rb
|
50
51
|
- lib/tddium_reporting/version.rb
|
51
52
|
has_rdoc: true
|