rack_direct 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +9 -0
- data/lib/rack_direct/service.rb +7 -1
- data/lib/rack_direct/version.rb +1 -1
- data/test/backend/README +243 -0
- data/test/backend/Rakefile +10 -0
- data/test/backend/app/controllers/application_controller.rb +10 -0
- data/test/backend/app/controllers/reverses_controller.rb +2 -0
- data/test/backend/app/helpers/application_helper.rb +3 -0
- data/test/backend/app/helpers/reverses_helper.rb +2 -0
- data/test/backend/app/models/reverse.rb +2 -0
- data/test/backend/config/boot.rb +110 -0
- data/test/backend/config/database.yml +22 -0
- data/test/backend/config/environment.rb +41 -0
- data/test/backend/config/environments/development.rb +17 -0
- data/test/backend/config/environments/production.rb +28 -0
- data/test/backend/config/environments/test.rb +28 -0
- data/test/backend/config/initializers/backtrace_silencers.rb +7 -0
- data/test/backend/config/initializers/inflections.rb +10 -0
- data/test/backend/config/initializers/mime_types.rb +5 -0
- data/test/backend/config/initializers/new_rails_defaults.rb +21 -0
- data/test/backend/config/initializers/session_store.rb +15 -0
- data/test/backend/config/locales/en.yml +5 -0
- data/test/backend/config/routes.rb +45 -0
- data/test/backend/db/development.sqlite3 +0 -0
- data/test/backend/db/migrate/20100625231422_create_reverses.rb +12 -0
- data/test/backend/db/schema.rb +19 -0
- data/test/backend/db/seeds.rb +7 -0
- data/test/backend/doc/README_FOR_APP +2 -0
- data/test/backend/log/development.log +73 -0
- data/test/backend/log/production.log +0 -0
- data/test/backend/log/server.log +0 -0
- data/test/backend/log/test.log +0 -0
- data/test/backend/public/404.html +30 -0
- data/test/backend/public/422.html +30 -0
- data/test/backend/public/500.html +30 -0
- data/test/backend/public/favicon.ico +0 -0
- data/test/backend/public/images/rails.png +0 -0
- data/test/backend/public/index.html +275 -0
- data/test/backend/public/javascripts/application.js +2 -0
- data/test/backend/public/javascripts/controls.js +963 -0
- data/test/backend/public/javascripts/dragdrop.js +973 -0
- data/test/backend/public/javascripts/effects.js +1128 -0
- data/test/backend/public/javascripts/prototype.js +4320 -0
- data/test/backend/public/robots.txt +5 -0
- data/test/backend/script/about +4 -0
- data/test/backend/script/console +3 -0
- data/test/backend/script/dbconsole +3 -0
- data/test/backend/script/destroy +3 -0
- data/test/backend/script/generate +3 -0
- data/test/backend/script/performance/benchmarker +3 -0
- data/test/backend/script/performance/profiler +3 -0
- data/test/backend/script/plugin +3 -0
- data/test/backend/script/runner +3 -0
- data/test/backend/script/server +3 -0
- data/test/backend/test/fixtures/reverses.yml +7 -0
- data/test/backend/test/functional/reverses_controller_test.rb +8 -0
- data/test/backend/test/performance/browsing_test.rb +9 -0
- data/test/backend/test/test_helper.rb +38 -0
- data/test/backend/test/unit/helpers/reverses_helper_test.rb +4 -0
- data/test/backend/test/unit/reverse_test.rb +8 -0
- data/test/frontend/README +243 -0
- data/test/frontend/Rakefile +10 -0
- data/test/frontend/app/controllers/application_controller.rb +10 -0
- data/test/frontend/app/helpers/application_helper.rb +3 -0
- data/test/frontend/config/boot.rb +110 -0
- data/test/frontend/config/database.yml +22 -0
- data/test/frontend/config/environment.rb +41 -0
- data/test/frontend/config/environments/development.rb +17 -0
- data/test/frontend/config/environments/production.rb +28 -0
- data/test/frontend/config/environments/test.rb +28 -0
- data/test/frontend/config/initializers/backtrace_silencers.rb +7 -0
- data/test/frontend/config/initializers/inflections.rb +10 -0
- data/test/frontend/config/initializers/mime_types.rb +5 -0
- data/test/frontend/config/initializers/new_rails_defaults.rb +21 -0
- data/test/frontend/config/initializers/session_store.rb +15 -0
- data/test/frontend/config/locales/en.yml +5 -0
- data/test/frontend/config/routes.rb +43 -0
- data/test/frontend/db/seeds.rb +7 -0
- data/test/frontend/doc/README_FOR_APP +2 -0
- data/test/frontend/log/development.log +0 -0
- data/test/frontend/log/production.log +0 -0
- data/test/frontend/log/server.log +0 -0
- data/test/frontend/log/test.log +0 -0
- data/test/frontend/public/404.html +30 -0
- data/test/frontend/public/422.html +30 -0
- data/test/frontend/public/500.html +30 -0
- data/test/frontend/public/favicon.ico +0 -0
- data/test/frontend/public/images/rails.png +0 -0
- data/test/frontend/public/index.html +275 -0
- data/test/frontend/public/javascripts/application.js +2 -0
- data/test/frontend/public/javascripts/controls.js +963 -0
- data/test/frontend/public/javascripts/dragdrop.js +973 -0
- data/test/frontend/public/javascripts/effects.js +1128 -0
- data/test/frontend/public/javascripts/prototype.js +4320 -0
- data/test/frontend/public/robots.txt +5 -0
- data/test/frontend/script/about +4 -0
- data/test/frontend/script/console +3 -0
- data/test/frontend/script/dbconsole +3 -0
- data/test/frontend/script/destroy +3 -0
- data/test/frontend/script/generate +3 -0
- data/test/frontend/script/performance/benchmarker +3 -0
- data/test/frontend/script/performance/profiler +3 -0
- data/test/frontend/script/plugin +3 -0
- data/test/frontend/script/runner +3 -0
- data/test/frontend/script/server +3 -0
- data/test/frontend/test/performance/browsing_test.rb +9 -0
- data/test/frontend/test/test_helper.rb +38 -0
- metadata +109 -20
@@ -0,0 +1,38 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
|
3
|
+
require 'test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Transactional fixtures accelerate your tests by wrapping each test method
|
7
|
+
# in a transaction that's rolled back on completion. This ensures that the
|
8
|
+
# test database remains unchanged so your fixtures don't have to be reloaded
|
9
|
+
# between every test method. Fewer database queries means faster tests.
|
10
|
+
#
|
11
|
+
# Read Mike Clark's excellent walkthrough at
|
12
|
+
# http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
|
13
|
+
#
|
14
|
+
# Every Active Record database supports transactions except MyISAM tables
|
15
|
+
# in MySQL. Turn off transactional fixtures in this case; however, if you
|
16
|
+
# don't care one way or the other, switching from MyISAM to InnoDB tables
|
17
|
+
# is recommended.
|
18
|
+
#
|
19
|
+
# The only drawback to using transactional fixtures is when you actually
|
20
|
+
# need to test transactions. Since your test is bracketed by a transaction,
|
21
|
+
# any transactions started in your code will be automatically rolled back.
|
22
|
+
self.use_transactional_fixtures = true
|
23
|
+
|
24
|
+
# Instantiated fixtures are slow, but give you @david where otherwise you
|
25
|
+
# would need people(:david). If you don't want to migrate your existing
|
26
|
+
# test cases which use the @david style and don't mind the speed hit (each
|
27
|
+
# instantiated fixtures translates to a database query per test method),
|
28
|
+
# then set this back to true.
|
29
|
+
self.use_instantiated_fixtures = false
|
30
|
+
|
31
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
32
|
+
#
|
33
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
34
|
+
# -- they do not yet inherit this setting
|
35
|
+
fixtures :all
|
36
|
+
|
37
|
+
# Add more helper methods to be used by all tests here...
|
38
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack_direct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 13
|
10
|
+
version: 0.1.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Sharon
|
@@ -17,23 +17,8 @@ cert_chain: []
|
|
17
17
|
|
18
18
|
date: 2010-06-09 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: rack
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - "="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 21
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 0
|
33
|
-
- 1
|
34
|
-
version: 1.0.1
|
35
|
-
type: :runtime
|
36
|
-
version_requirements: *id001
|
20
|
+
dependencies: []
|
21
|
+
|
37
22
|
description: |
|
38
23
|
RackDirect allows you to easily perform integration tests between multiple Rails websites, by launching your ActiveResource services in a standalone process and communicating with them via stdio instead of over a socket.
|
39
24
|
|
@@ -54,6 +39,110 @@ files:
|
|
54
39
|
- lib/rack_direct/version.rb
|
55
40
|
- lib/rack_direct.rb
|
56
41
|
- Rakefile
|
42
|
+
- test/backend/app/controllers/application_controller.rb
|
43
|
+
- test/backend/app/controllers/reverses_controller.rb
|
44
|
+
- test/backend/app/helpers/application_helper.rb
|
45
|
+
- test/backend/app/helpers/reverses_helper.rb
|
46
|
+
- test/backend/app/models/reverse.rb
|
47
|
+
- test/backend/config/boot.rb
|
48
|
+
- test/backend/config/database.yml
|
49
|
+
- test/backend/config/environment.rb
|
50
|
+
- test/backend/config/environments/development.rb
|
51
|
+
- test/backend/config/environments/production.rb
|
52
|
+
- test/backend/config/environments/test.rb
|
53
|
+
- test/backend/config/initializers/backtrace_silencers.rb
|
54
|
+
- test/backend/config/initializers/inflections.rb
|
55
|
+
- test/backend/config/initializers/mime_types.rb
|
56
|
+
- test/backend/config/initializers/new_rails_defaults.rb
|
57
|
+
- test/backend/config/initializers/session_store.rb
|
58
|
+
- test/backend/config/locales/en.yml
|
59
|
+
- test/backend/config/routes.rb
|
60
|
+
- test/backend/db/development.sqlite3
|
61
|
+
- test/backend/db/migrate/20100625231422_create_reverses.rb
|
62
|
+
- test/backend/db/schema.rb
|
63
|
+
- test/backend/db/seeds.rb
|
64
|
+
- test/backend/doc/README_FOR_APP
|
65
|
+
- test/backend/log/development.log
|
66
|
+
- test/backend/log/production.log
|
67
|
+
- test/backend/log/server.log
|
68
|
+
- test/backend/log/test.log
|
69
|
+
- test/backend/public/404.html
|
70
|
+
- test/backend/public/422.html
|
71
|
+
- test/backend/public/500.html
|
72
|
+
- test/backend/public/favicon.ico
|
73
|
+
- test/backend/public/images/rails.png
|
74
|
+
- test/backend/public/index.html
|
75
|
+
- test/backend/public/javascripts/application.js
|
76
|
+
- test/backend/public/javascripts/controls.js
|
77
|
+
- test/backend/public/javascripts/dragdrop.js
|
78
|
+
- test/backend/public/javascripts/effects.js
|
79
|
+
- test/backend/public/javascripts/prototype.js
|
80
|
+
- test/backend/public/robots.txt
|
81
|
+
- test/backend/Rakefile
|
82
|
+
- test/backend/README
|
83
|
+
- test/backend/script/about
|
84
|
+
- test/backend/script/console
|
85
|
+
- test/backend/script/dbconsole
|
86
|
+
- test/backend/script/destroy
|
87
|
+
- test/backend/script/generate
|
88
|
+
- test/backend/script/performance/benchmarker
|
89
|
+
- test/backend/script/performance/profiler
|
90
|
+
- test/backend/script/plugin
|
91
|
+
- test/backend/script/runner
|
92
|
+
- test/backend/script/server
|
93
|
+
- test/backend/test/fixtures/reverses.yml
|
94
|
+
- test/backend/test/functional/reverses_controller_test.rb
|
95
|
+
- test/backend/test/performance/browsing_test.rb
|
96
|
+
- test/backend/test/test_helper.rb
|
97
|
+
- test/backend/test/unit/helpers/reverses_helper_test.rb
|
98
|
+
- test/backend/test/unit/reverse_test.rb
|
99
|
+
- test/frontend/app/controllers/application_controller.rb
|
100
|
+
- test/frontend/app/helpers/application_helper.rb
|
101
|
+
- test/frontend/config/boot.rb
|
102
|
+
- test/frontend/config/database.yml
|
103
|
+
- test/frontend/config/environment.rb
|
104
|
+
- test/frontend/config/environments/development.rb
|
105
|
+
- test/frontend/config/environments/production.rb
|
106
|
+
- test/frontend/config/environments/test.rb
|
107
|
+
- test/frontend/config/initializers/backtrace_silencers.rb
|
108
|
+
- test/frontend/config/initializers/inflections.rb
|
109
|
+
- test/frontend/config/initializers/mime_types.rb
|
110
|
+
- test/frontend/config/initializers/new_rails_defaults.rb
|
111
|
+
- test/frontend/config/initializers/session_store.rb
|
112
|
+
- test/frontend/config/locales/en.yml
|
113
|
+
- test/frontend/config/routes.rb
|
114
|
+
- test/frontend/db/seeds.rb
|
115
|
+
- test/frontend/doc/README_FOR_APP
|
116
|
+
- test/frontend/log/development.log
|
117
|
+
- test/frontend/log/production.log
|
118
|
+
- test/frontend/log/server.log
|
119
|
+
- test/frontend/log/test.log
|
120
|
+
- test/frontend/public/404.html
|
121
|
+
- test/frontend/public/422.html
|
122
|
+
- test/frontend/public/500.html
|
123
|
+
- test/frontend/public/favicon.ico
|
124
|
+
- test/frontend/public/images/rails.png
|
125
|
+
- test/frontend/public/index.html
|
126
|
+
- test/frontend/public/javascripts/application.js
|
127
|
+
- test/frontend/public/javascripts/controls.js
|
128
|
+
- test/frontend/public/javascripts/dragdrop.js
|
129
|
+
- test/frontend/public/javascripts/effects.js
|
130
|
+
- test/frontend/public/javascripts/prototype.js
|
131
|
+
- test/frontend/public/robots.txt
|
132
|
+
- test/frontend/Rakefile
|
133
|
+
- test/frontend/README
|
134
|
+
- test/frontend/script/about
|
135
|
+
- test/frontend/script/console
|
136
|
+
- test/frontend/script/dbconsole
|
137
|
+
- test/frontend/script/destroy
|
138
|
+
- test/frontend/script/generate
|
139
|
+
- test/frontend/script/performance/benchmarker
|
140
|
+
- test/frontend/script/performance/profiler
|
141
|
+
- test/frontend/script/plugin
|
142
|
+
- test/frontend/script/runner
|
143
|
+
- test/frontend/script/server
|
144
|
+
- test/frontend/test/performance/browsing_test.rb
|
145
|
+
- test/frontend/test/test_helper.rb
|
57
146
|
has_rdoc: true
|
58
147
|
homepage: http://floatplane.us/
|
59
148
|
licenses: []
|