torquespec 0.3.6 → 0.3.8

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.
@@ -36,6 +36,8 @@ module TorqueSpec
36
36
  def stop
37
37
  puts "daemon: stop"
38
38
  DRb.stop_service
39
+ rescue Exception
40
+ # ignore
39
41
  end
40
42
 
41
43
  def run(alien, reporter)
@@ -97,8 +99,9 @@ module RSpec
97
99
  def marshal_dump
98
100
  @metadata
99
101
  end
100
- def marshal_load metadata
101
- @metadata = metadata
102
+ def marshal_load data
103
+ @example_group_class = ExampleGroup.describe
104
+ @metadata = data
102
105
  end
103
106
  end
104
107
  end
@@ -1,3 +1,3 @@
1
1
  module TorqueSpec
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.8"
3
3
  end
@@ -0,0 +1,16 @@
1
+ require 'torquespec'
2
+
3
+ remote_describe "scratch pad for failures" do
4
+
5
+ it "should work" do
6
+ fail "That didn't work!"
7
+ end
8
+
9
+ describe "nested" do
10
+ it "should also not work" do
11
+ fail "whatever"
12
+ end
13
+ end
14
+
15
+ end
16
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquespec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 6
10
- version: 0.3.6
9
+ - 8
10
+ version: 0.3.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Crossley
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-06-17 00:00:00 -04:00
19
+ date: 2011-06-20 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -75,6 +75,7 @@ files:
75
75
  - lib/torquespec/torquespec.rb
76
76
  - lib/torquespec/version.rb
77
77
  - spec/empty_spec.rb
78
+ - spec/failure.rb
78
79
  - spec/guard_spec.rb
79
80
  - spec/hello_world_spec.rb
80
81
  - spec/injection_spec.rb
@@ -117,6 +118,7 @@ specification_version: 3
117
118
  summary: Deploy TorqueBox knobs to a running JBoss instance
118
119
  test_files:
119
120
  - spec/empty_spec.rb
121
+ - spec/failure.rb
120
122
  - spec/guard_spec.rb
121
123
  - spec/hello_world_spec.rb
122
124
  - spec/injection_spec.rb