spork 0.5.4 → 0.5.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.
data/README.rdoc
CHANGED
@@ -32,9 +32,9 @@ Feature: Cucumber integration with rails
|
|
32
32
|
require 'spec/rails'
|
33
33
|
require 'cucumber/rails/rspec'
|
34
34
|
|
35
|
-
|
36
|
-
$loaded_stuff << 'prefork block'
|
37
|
-
|
35
|
+
#### this is for this test only #######
|
36
|
+
$loaded_stuff << 'prefork block' ######
|
37
|
+
#######################################
|
38
38
|
end
|
39
39
|
|
40
40
|
Spork.each_run do
|
@@ -44,9 +44,9 @@ Feature: Cucumber integration with rails
|
|
44
44
|
Cucumber::Rails.bypass_rescue # Comment out this line if you want Rails own error handling
|
45
45
|
# (e.g. rescue_action_in_public / rescue_responses / rescue_from)
|
46
46
|
|
47
|
-
|
48
|
-
$loaded_stuff << 'each_run block'
|
49
|
-
|
47
|
+
#### this is for this test only #######
|
48
|
+
$loaded_stuff << 'each_run block' #####
|
49
|
+
#######################################
|
50
50
|
end
|
51
51
|
"""
|
52
52
|
And a file named "features/cucumber_rails.feature" with:
|
@@ -19,17 +19,17 @@ Feature: Rails Integration
|
|
19
19
|
require 'spec'
|
20
20
|
require 'spec/rails'
|
21
21
|
|
22
|
-
|
23
|
-
$loaded_stuff << 'prefork block'
|
24
|
-
|
22
|
+
#### this is for this test only #######
|
23
|
+
$loaded_stuff << 'prefork block' ######
|
24
|
+
#######################################
|
25
25
|
end
|
26
26
|
|
27
27
|
Spork.each_run do
|
28
28
|
# This code will be run each time you run your specs.
|
29
29
|
|
30
|
-
|
31
|
-
$loaded_stuff << 'each_run block'
|
32
|
-
|
30
|
+
#### this is for this test only #######
|
31
|
+
$loaded_stuff << 'each_run block' #####
|
32
|
+
#######################################
|
33
33
|
end
|
34
34
|
"""
|
35
35
|
And the application has a model, observer, route, and application helper
|
data/features/support/env.rb
CHANGED
data/lib/spork/server.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Harper
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-10 00:00:00 -06:00
|
13
13
|
default_executable: spork
|
14
14
|
dependencies: []
|
15
15
|
|