siringa 0.0.9 → 0.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 924f051a023e1d313c054c67cdfb983e1c31be3b
4
- data.tar.gz: 5fe7af2170c3012f74f841de6ebad6ebd8b05091
2
+ SHA256:
3
+ metadata.gz: 98da03654dab98c0002993b8edf59c23ad55a47276c3ce554ba9030c1a08a92b
4
+ data.tar.gz: 86a3d23012075b42eb382effdf108d5660e5a5d08a48173cfbedc8d2e19ac7a3
5
5
  SHA512:
6
- metadata.gz: 7d04d2d596e76cbf3a0b358a2f7b0482a4371f11ae4a57c09f864a06312ea652f117d4a920a00d7842f4882c29b3abea9b8960c79193427e901fa46ae1a4c434
7
- data.tar.gz: 41f7658ec0a15a4ab6d73992e6ae573655341dc21580260ea3525ffffbc5ecc625d0136dd289d955637fc5649ab88faf30b1c306223be8d39a05b26d6e914e5e
6
+ metadata.gz: 4e954cc8176bf7aebf295da22b6d17cf1f04877570a7904530bb0d92a113cd93c0b0322d199e486499162da6118d61a1c5fbcbb30899ac99a7ba85a44997b9a1
7
+ data.tar.gz: 10f4c581bd5134e0490dc53a2b8fd03934af760b18f9e9a9816ea4ae60e7ce309a11d50283ad3a5fa2612b56a6ea1e8225c5a870eae84c907835408d3e87e5c4
data/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  # Siringa :syringe:
2
- This gem was born working on pure client acceptance testing in [Teambox](http://www.teambox.com).
2
+ This gem was born working on pure client acceptance testing in [Redbooth](http://www.redbooth.com).
3
+
3
4
  ## WARNING :warning:
4
5
  Due to a conflict with reserved word `load` we are deprecating `#load` action in `SiringaController` in favour of `#load_definition`. This change is reflected by a warning in logs but will be dropped in version `0.1.0`.
6
+
5
7
  ## The problem
6
8
 
7
9
  You have a Rails based API and you need to write some acceptance tests using your Javascript/iOS/Android/whatever client.
@@ -1,13 +1,7 @@
1
1
  module Siringa
2
- class SiringaController < ApplicationController
3
-
4
- # TODO: deprecate in 0.1.0
5
- #
6
- def load
7
- Rails.logger.warn '[Siringa] Using /load route has been deprecated in favour of /load_definition. Will be dropped in 0.1.0'
8
-
9
- load_definition
10
- end
2
+ class SiringaController < ActionController::Base
3
+
4
+ skip_before_action :verify_authenticity_token
11
5
 
12
6
  def load_definition
13
7
  result = Siringa.load_definition(params['definition'].to_sym, options)
@@ -1,3 +1,3 @@
1
1
  module Siringa
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,28 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siringa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrico Stano
8
8
  - Pau Pérez
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-08 00:00:00.000000000 Z
12
+ date: 2020-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  description: Remotely populate DB for Rails applications for pure client acceptance
@@ -34,122 +34,112 @@ executables: []
34
34
  extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
+ - MIT-LICENSE
38
+ - README.md
39
+ - Rakefile
37
40
  - app/controllers/siringa/siringa_controller.rb
38
- - app/controllers/siringa/application_controller.rb
39
41
  - config/routes.rb
42
+ - lib/generators/siringa/install_generator.rb
43
+ - lib/siringa.rb
40
44
  - lib/siringa/configuration.rb
41
- - lib/siringa/version.rb
42
45
  - lib/siringa/definitions.rb
43
46
  - lib/siringa/dumps.rb
44
47
  - lib/siringa/engine.rb
48
+ - lib/siringa/version.rb
45
49
  - lib/tasks/siringa_tasks.rake
46
- - lib/siringa.rb
47
- - lib/generators/siringa/install_generator.rb
48
- - MIT-LICENSE
49
- - Rakefile
50
- - README.md
51
- - test/test_helper.rb
52
50
  - test/controllers/siringa_controller_test.rb
53
- - test/integration/navigation_test.rb
54
- - test/siringa_test.rb
55
- - test/dummy/config/database.yml
51
+ - test/dummy/Rakefile
52
+ - test/dummy/app/assets/javascripts/application.js
53
+ - test/dummy/app/assets/stylesheets/application.css
54
+ - test/dummy/app/controllers/application_controller.rb
55
+ - test/dummy/app/helpers/application_helper.rb
56
+ - test/dummy/app/models/user.rb
57
+ - test/dummy/app/views/layouts/application.html.erb
58
+ - test/dummy/config.ru
56
59
  - test/dummy/config/application.rb
60
+ - test/dummy/config/boot.rb
61
+ - test/dummy/config/database.yml
62
+ - test/dummy/config/environment.rb
63
+ - test/dummy/config/environments/development.rb
57
64
  - test/dummy/config/environments/production.rb
58
65
  - test/dummy/config/environments/test.rb
59
- - test/dummy/config/environments/development.rb
60
- - test/dummy/config/locales/en.yml
61
66
  - test/dummy/config/initializers/backtrace_silencers.rb
62
- - test/dummy/config/initializers/mime_types.rb
63
67
  - test/dummy/config/initializers/inflections.rb
64
- - test/dummy/config/initializers/session_store.rb
68
+ - test/dummy/config/initializers/mime_types.rb
65
69
  - test/dummy/config/initializers/secret_token.rb
70
+ - test/dummy/config/initializers/session_store.rb
66
71
  - test/dummy/config/initializers/wrap_parameters.rb
72
+ - test/dummy/config/locales/en.yml
67
73
  - test/dummy/config/routes.rb
68
- - test/dummy/config/boot.rb
69
- - test/dummy/config/environment.rb
70
- - test/dummy/test/siringa/definitions.rb
71
- - test/dummy/test/factories.rb
72
- - test/dummy/config.ru
73
74
  - test/dummy/db/migrate/20130927161308_create_user.rb
74
- - test/dummy/db/test.sqlite3
75
75
  - test/dummy/db/schema.rb
76
- - test/dummy/db/development.sqlite3
77
- - test/dummy/script/rails
78
- - test/dummy/app/helpers/application_helper.rb
79
- - test/dummy/app/controllers/application_controller.rb
80
- - test/dummy/app/assets/javascripts/application.js
81
- - test/dummy/app/assets/stylesheets/application.css
82
- - test/dummy/app/views/layouts/application.html.erb
83
- - test/dummy/app/models/user.rb
84
- - test/dummy/public/500.html
85
76
  - test/dummy/public/404.html
86
77
  - test/dummy/public/422.html
78
+ - test/dummy/public/500.html
87
79
  - test/dummy/public/favicon.ico
88
- - test/dummy/Rakefile
89
- - test/dummy/log/development.log
90
- - test/dummy/log/test.log
80
+ - test/dummy/script/rails
81
+ - test/dummy/test/factories.rb
82
+ - test/dummy/test/siringa/definitions.rb
83
+ - test/integration/navigation_test.rb
84
+ - test/siringa_test.rb
85
+ - test/test_helper.rb
91
86
  homepage: https://github.com/enricostano/siringa
92
87
  licenses:
93
88
  - MIT
94
89
  metadata: {}
95
- post_install_message:
90
+ post_install_message:
96
91
  rdoc_options: []
97
92
  require_paths:
98
93
  - lib
99
94
  required_ruby_version: !ruby/object:Gem::Requirement
100
95
  requirements:
101
- - - '>='
96
+ - - ">="
102
97
  - !ruby/object:Gem::Version
103
98
  version: '0'
104
99
  required_rubygems_version: !ruby/object:Gem::Requirement
105
100
  requirements:
106
- - - '>='
101
+ - - ">="
107
102
  - !ruby/object:Gem::Version
108
103
  version: '0'
109
104
  requirements: []
110
- rubyforge_project:
111
- rubygems_version: 2.1.11
112
- signing_key:
105
+ rubygems_version: 3.1.2
106
+ signing_key:
113
107
  specification_version: 4
114
108
  summary: Remotely populate DB for Rails applications for pure client acceptance testing
115
109
  test_files:
116
- - test/test_helper.rb
117
- - test/controllers/siringa_controller_test.rb
118
- - test/integration/navigation_test.rb
119
- - test/siringa_test.rb
120
- - test/dummy/config/database.yml
121
- - test/dummy/config/application.rb
122
- - test/dummy/config/environments/production.rb
123
- - test/dummy/config/environments/test.rb
124
- - test/dummy/config/environments/development.rb
125
- - test/dummy/config/locales/en.yml
126
- - test/dummy/config/initializers/backtrace_silencers.rb
127
- - test/dummy/config/initializers/mime_types.rb
128
- - test/dummy/config/initializers/inflections.rb
129
- - test/dummy/config/initializers/session_store.rb
130
- - test/dummy/config/initializers/secret_token.rb
131
- - test/dummy/config/initializers/wrap_parameters.rb
132
- - test/dummy/config/routes.rb
133
- - test/dummy/config/boot.rb
134
- - test/dummy/config/environment.rb
135
- - test/dummy/test/siringa/definitions.rb
136
- - test/dummy/test/factories.rb
137
- - test/dummy/config.ru
138
- - test/dummy/db/migrate/20130927161308_create_user.rb
139
- - test/dummy/db/test.sqlite3
140
- - test/dummy/db/schema.rb
141
- - test/dummy/db/development.sqlite3
142
110
  - test/dummy/script/rails
111
+ - test/dummy/db/schema.rb
112
+ - test/dummy/db/migrate/20130927161308_create_user.rb
113
+ - test/dummy/config.ru
114
+ - test/dummy/public/422.html
115
+ - test/dummy/public/500.html
116
+ - test/dummy/public/favicon.ico
117
+ - test/dummy/public/404.html
143
118
  - test/dummy/app/helpers/application_helper.rb
119
+ - test/dummy/app/views/layouts/application.html.erb
144
120
  - test/dummy/app/controllers/application_controller.rb
121
+ - test/dummy/app/models/user.rb
145
122
  - test/dummy/app/assets/javascripts/application.js
146
123
  - test/dummy/app/assets/stylesheets/application.css
147
- - test/dummy/app/views/layouts/application.html.erb
148
- - test/dummy/app/models/user.rb
149
- - test/dummy/public/500.html
150
- - test/dummy/public/404.html
151
- - test/dummy/public/422.html
152
- - test/dummy/public/favicon.ico
124
+ - test/dummy/test/factories.rb
125
+ - test/dummy/test/siringa/definitions.rb
153
126
  - test/dummy/Rakefile
154
- - test/dummy/log/development.log
155
- - test/dummy/log/test.log
127
+ - test/dummy/config/environments/test.rb
128
+ - test/dummy/config/environments/development.rb
129
+ - test/dummy/config/environments/production.rb
130
+ - test/dummy/config/locales/en.yml
131
+ - test/dummy/config/boot.rb
132
+ - test/dummy/config/routes.rb
133
+ - test/dummy/config/environment.rb
134
+ - test/dummy/config/database.yml
135
+ - test/dummy/config/application.rb
136
+ - test/dummy/config/initializers/secret_token.rb
137
+ - test/dummy/config/initializers/mime_types.rb
138
+ - test/dummy/config/initializers/inflections.rb
139
+ - test/dummy/config/initializers/wrap_parameters.rb
140
+ - test/dummy/config/initializers/backtrace_silencers.rb
141
+ - test/dummy/config/initializers/session_store.rb
142
+ - test/test_helper.rb
143
+ - test/integration/navigation_test.rb
144
+ - test/siringa_test.rb
145
+ - test/controllers/siringa_controller_test.rb
@@ -1,4 +0,0 @@
1
- module Siringa
2
- class ApplicationController < ActionController::Base
3
- end
4
- end
Binary file
@@ -1,6 +0,0 @@
1
-  (9.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
2
-  (8.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
-  (11.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
-  (0.4ms) SELECT version FROM "schema_migrations"
5
-  (9.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130927161308')
6
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -1,792 +0,0 @@
1
-  (0.3ms) begin transaction
2
- ----------------------------------------------------------------------------
3
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
4
- ----------------------------------------------------------------------------
5
- Processing by Siringa::SiringaController#load as HTML
6
- Parameters: {"definition"=>"papapa"}
7
- Rendered text template (0.0ms)
8
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
9
-  (0.1ms) rollback transaction
10
-  (0.1ms) begin transaction
11
- ----------------------------------------------------------------
12
- SiringaControllerTest: test_load_action_passing_existing_factory
13
- ----------------------------------------------------------------
14
- Processing by Siringa::SiringaController#load as HTML
15
- Parameters: {"definition"=>"initial"}
16
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
17
-  (0.1ms) rollback transaction
18
-  (0.3ms) begin transaction
19
- ----------------------------------------------------------------------------
20
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
21
- ----------------------------------------------------------------------------
22
- Processing by Siringa::SiringaController#load as HTML
23
- Parameters: {"definition"=>"papapa"}
24
- Rendered text template (0.0ms)
25
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
26
-  (0.1ms) rollback transaction
27
-  (0.1ms) begin transaction
28
- ----------------------------------------------------------------
29
- SiringaControllerTest: test_load_action_passing_existing_factory
30
- ----------------------------------------------------------------
31
- Processing by Siringa::SiringaController#load as HTML
32
- Parameters: {"definition"=>"initial"}
33
- Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
34
-  (0.0ms) rollback transaction
35
-  (0.3ms) begin transaction
36
- ----------------------------------------------------------------------------
37
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
38
- ----------------------------------------------------------------------------
39
- Processing by Siringa::SiringaController#load as HTML
40
- Parameters: {"definition"=>"papapa"}
41
- Rendered text template (0.0ms)
42
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
43
-  (0.1ms) rollback transaction
44
-  (0.1ms) begin transaction
45
- ----------------------------------------------------------------
46
- SiringaControllerTest: test_load_action_passing_existing_factory
47
- ----------------------------------------------------------------
48
- Processing by Siringa::SiringaController#load as HTML
49
- Parameters: {"definition"=>"initial"}
50
- Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
51
-  (0.1ms) rollback transaction
52
-  (0.3ms) begin transaction
53
- ----------------------------------------------------------------------------
54
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
55
- ----------------------------------------------------------------------------
56
- Processing by Siringa::SiringaController#load as HTML
57
- Parameters: {"definition"=>"papapa"}
58
- Rendered text template (0.0ms)
59
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
60
-  (0.1ms) rollback transaction
61
-  (0.1ms) begin transaction
62
- ----------------------------------------------------------------
63
- SiringaControllerTest: test_load_action_passing_existing_factory
64
- ----------------------------------------------------------------
65
- Processing by Siringa::SiringaController#load as HTML
66
- Parameters: {"definition"=>"initial"}
67
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
68
-  (0.1ms) rollback transaction
69
-  (0.3ms) begin transaction
70
- ----------------------------------------------------------------------------
71
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
72
- ----------------------------------------------------------------------------
73
- Processing by Siringa::SiringaController#load as HTML
74
- Parameters: {"definition"=>"papapa"}
75
- Rendered text template (0.0ms)
76
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
77
-  (0.1ms) rollback transaction
78
-  (0.1ms) begin transaction
79
- ----------------------------------------------------------------
80
- SiringaControllerTest: test_load_action_passing_existing_factory
81
- ----------------------------------------------------------------
82
- Processing by Siringa::SiringaController#load as HTML
83
- Parameters: {"definition"=>"initial"}
84
- Completed 500 Internal Server Error in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
85
-  (0.1ms) rollback transaction
86
-  (0.3ms) begin transaction
87
- ----------------------------------------------------------------------------
88
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
89
- ----------------------------------------------------------------------------
90
- Processing by Siringa::SiringaController#load as HTML
91
- Parameters: {"definition"=>"papapa"}
92
- Rendered text template (0.0ms)
93
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
94
-  (0.1ms) rollback transaction
95
-  (0.1ms) begin transaction
96
- ----------------------------------------------------------------
97
- SiringaControllerTest: test_load_action_passing_existing_factory
98
- ----------------------------------------------------------------
99
- Processing by Siringa::SiringaController#load as HTML
100
- Parameters: {"definition"=>"initial"}
101
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
102
-  (0.1ms) rollback transaction
103
-  (0.3ms) begin transaction
104
- ----------------------------------------------------------------------------
105
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
106
- ----------------------------------------------------------------------------
107
- Processing by Siringa::SiringaController#load as HTML
108
- Parameters: {"definition"=>"papapa"}
109
- Rendered text template (0.0ms)
110
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
111
-  (0.1ms) rollback transaction
112
-  (0.1ms) begin transaction
113
- ----------------------------------------------------------------
114
- SiringaControllerTest: test_load_action_passing_existing_factory
115
- ----------------------------------------------------------------
116
- Processing by Siringa::SiringaController#load as HTML
117
- Parameters: {"definition"=>"initial"}
118
- Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
119
-  (0.1ms) rollback transaction
120
-  (0.3ms) begin transaction
121
- ----------------------------------------------------------------------------
122
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
123
- ----------------------------------------------------------------------------
124
- Processing by Siringa::SiringaController#load as HTML
125
- Parameters: {"definition"=>"papapa"}
126
- Rendered text template (0.0ms)
127
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
128
-  (0.1ms) rollback transaction
129
-  (0.1ms) begin transaction
130
- ----------------------------------------------------------------
131
- SiringaControllerTest: test_load_action_passing_existing_factory
132
- ----------------------------------------------------------------
133
- Processing by Siringa::SiringaController#load as HTML
134
- Parameters: {"definition"=>"initial"}
135
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
136
-  (0.1ms) rollback transaction
137
-  (0.3ms) begin transaction
138
- ----------------------------------------------------------------------------
139
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
140
- ----------------------------------------------------------------------------
141
- Processing by Siringa::SiringaController#load as HTML
142
- Parameters: {"definition"=>"papapa"}
143
- Rendered text template (0.0ms)
144
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
145
-  (0.1ms) rollback transaction
146
-  (0.1ms) begin transaction
147
- ----------------------------------------------------------------
148
- SiringaControllerTest: test_load_action_passing_existing_factory
149
- ----------------------------------------------------------------
150
- Processing by Siringa::SiringaController#load as HTML
151
- Parameters: {"definition"=>"initial"}
152
- Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
153
-  (0.1ms) rollback transaction
154
-  (0.3ms) begin transaction
155
- ----------------------------------------------------------------------------
156
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
157
- ----------------------------------------------------------------------------
158
- Processing by Siringa::SiringaController#load as HTML
159
- Parameters: {"definition"=>"papapa"}
160
- Rendered text template (0.0ms)
161
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
162
-  (0.1ms) rollback transaction
163
-  (0.1ms) begin transaction
164
- ----------------------------------------------------------------
165
- SiringaControllerTest: test_load_action_passing_existing_factory
166
- ----------------------------------------------------------------
167
- Processing by Siringa::SiringaController#load as HTML
168
- Parameters: {"definition"=>"initial"}
169
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
170
-  (0.1ms) rollback transaction
171
-  (0.3ms) begin transaction
172
- ----------------------------------------------------------------------------
173
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
174
- ----------------------------------------------------------------------------
175
- Processing by Siringa::SiringaController#load as HTML
176
- Parameters: {"definition"=>"papapa"}
177
- Rendered text template (0.0ms)
178
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
179
-  (0.1ms) rollback transaction
180
-  (0.1ms) begin transaction
181
- ----------------------------------------------------------------
182
- SiringaControllerTest: test_load_action_passing_existing_factory
183
- ----------------------------------------------------------------
184
- Processing by Siringa::SiringaController#load as HTML
185
- Parameters: {"definition"=>"initial"}
186
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
187
-  (0.1ms) rollback transaction
188
-  (0.3ms) begin transaction
189
- ----------------------------------------------------------------------------
190
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
191
- ----------------------------------------------------------------------------
192
- Processing by Siringa::SiringaController#load as HTML
193
- Parameters: {"definition"=>"papapa"}
194
- Rendered text template (0.0ms)
195
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
196
-  (0.1ms) rollback transaction
197
-  (0.1ms) begin transaction
198
- ----------------------------------------------------------------
199
- SiringaControllerTest: test_load_action_passing_existing_factory
200
- ----------------------------------------------------------------
201
- Processing by Siringa::SiringaController#load as HTML
202
- Parameters: {"definition"=>"initial"}
203
- Completed 500 Internal Server Error in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
204
-  (0.1ms) rollback transaction
205
-  (17.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
206
-  (17.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
207
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
208
- Migrating to CreateUser (20130927161308)
209
-  (0.1ms) begin transaction
210
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
211
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927161308"]]
212
-  (17.5ms) commit transaction
213
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
214
-  (0.3ms) begin transaction
215
- ----------------------------------------------------------------------------
216
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
217
- ----------------------------------------------------------------------------
218
- Processing by Siringa::SiringaController#load as HTML
219
- Parameters: {"definition"=>"papapa"}
220
- Rendered text template (0.0ms)
221
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
222
-  (0.1ms) rollback transaction
223
-  (0.1ms) begin transaction
224
- ----------------------------------------------------------------
225
- SiringaControllerTest: test_load_action_passing_existing_factory
226
- ----------------------------------------------------------------
227
- Processing by Siringa::SiringaController#load as HTML
228
- Parameters: {"definition"=>"initial"}
229
-  (0.1ms) SAVEPOINT active_record_1
230
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
231
-  (0.1ms) RELEASE SAVEPOINT active_record_1
232
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
233
-  (0.1ms) rollback transaction
234
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
235
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
236
-  (0.3ms) begin transaction
237
- ----------------------------------------------------------------------------
238
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
239
- ----------------------------------------------------------------------------
240
- Processing by Siringa::SiringaController#load as HTML
241
- Parameters: {"definition"=>"papapa"}
242
- Rendered text template (0.0ms)
243
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
244
-  (0.1ms) rollback transaction
245
-  (0.1ms) begin transaction
246
- ----------------------------------------------------------------
247
- SiringaControllerTest: test_load_action_passing_existing_factory
248
- ----------------------------------------------------------------
249
- Processing by Siringa::SiringaController#load as HTML
250
- Parameters: {"definition"=>"initial"}
251
-  (0.1ms) SAVEPOINT active_record_1
252
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
253
-  (0.1ms) RELEASE SAVEPOINT active_record_1
254
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
255
-  (0.1ms) rollback transaction
256
-  (0.3ms) begin transaction
257
- ----------------------------------------------------------------------------
258
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
259
- ----------------------------------------------------------------------------
260
- Processing by Siringa::SiringaController#load as HTML
261
- Parameters: {"definition"=>"papapa"}
262
- Rendered text template (0.0ms)
263
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
264
-  (0.1ms) rollback transaction
265
-  (0.1ms) begin transaction
266
- ----------------------------------------------------------------
267
- SiringaControllerTest: test_load_action_passing_existing_factory
268
- ----------------------------------------------------------------
269
- Processing by Siringa::SiringaController#load as HTML
270
- Parameters: {"definition"=>"initial"}
271
-  (0.1ms) SAVEPOINT active_record_1
272
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
273
-  (0.1ms) RELEASE SAVEPOINT active_record_1
274
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
275
-  (0.1ms) rollback transaction
276
-  (0.3ms) begin transaction
277
- ----------------------------------------------------------------------------
278
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
279
- ----------------------------------------------------------------------------
280
- Processing by Siringa::SiringaController#load as HTML
281
- Parameters: {"definition"=>"papapa"}
282
- Rendered text template (0.0ms)
283
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
284
-  (0.1ms) rollback transaction
285
-  (0.1ms) begin transaction
286
- ----------------------------------------------------------------
287
- SiringaControllerTest: test_load_action_passing_existing_factory
288
- ----------------------------------------------------------------
289
- Processing by Siringa::SiringaController#load as HTML
290
- Parameters: {"definition"=>"initial"}
291
- Completed 405 Method Not Allowed in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
292
-  (0.1ms) rollback transaction
293
-  (0.3ms) begin transaction
294
- ----------------------------------------------------------------------------
295
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
296
- ----------------------------------------------------------------------------
297
- Processing by Siringa::SiringaController#load as HTML
298
- Parameters: {"definition"=>"papapa"}
299
- Rendered text template (0.0ms)
300
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
301
-  (0.1ms) rollback transaction
302
-  (0.1ms) begin transaction
303
- ----------------------------------------------------------------
304
- SiringaControllerTest: test_load_action_passing_existing_factory
305
- ----------------------------------------------------------------
306
- Processing by Siringa::SiringaController#load as HTML
307
- Parameters: {"definition"=>"initial"}
308
-  (0.1ms) SAVEPOINT active_record_1
309
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
310
-  (0.1ms) RELEASE SAVEPOINT active_record_1
311
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
312
-  (0.1ms) rollback transaction
313
-  (0.3ms) begin transaction
314
- ----------------------------------------------------------------------------
315
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
316
- ----------------------------------------------------------------------------
317
- Processing by Siringa::SiringaController#load as HTML
318
- Parameters: {"definition"=>"papapa"}
319
- Rendered text template (0.0ms)
320
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
321
-  (0.1ms) rollback transaction
322
-  (0.1ms) begin transaction
323
- ----------------------------------------------------------------
324
- SiringaControllerTest: test_load_action_passing_existing_factory
325
- ----------------------------------------------------------------
326
- Processing by Siringa::SiringaController#load as HTML
327
- Parameters: {"definition"=>"initial"}
328
-  (0.1ms) SAVEPOINT active_record_1
329
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
330
-  (0.1ms) RELEASE SAVEPOINT active_record_1
331
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
332
-  (0.1ms) rollback transaction
333
-  (0.3ms) begin transaction
334
- ----------------------------------------------------------------------------
335
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
336
- ----------------------------------------------------------------------------
337
- Processing by Siringa::SiringaController#load as HTML
338
- Parameters: {"definition"=>"papapa"}
339
- Rendered text template (0.0ms)
340
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
341
-  (0.1ms) rollback transaction
342
-  (0.1ms) begin transaction
343
- ----------------------------------------------------------------
344
- SiringaControllerTest: test_load_action_passing_existing_factory
345
- ----------------------------------------------------------------
346
- Processing by Siringa::SiringaController#load as HTML
347
- Parameters: {"definition"=>"initial"}
348
-  (0.1ms) SAVEPOINT active_record_1
349
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
350
-  (0.1ms) RELEASE SAVEPOINT active_record_1
351
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.6ms)
352
-  (0.1ms) rollback transaction
353
-  (0.3ms) begin transaction
354
- ----------------------------------------------------------------------------
355
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
356
- ----------------------------------------------------------------------------
357
- Processing by Siringa::SiringaController#load as HTML
358
- Parameters: {"definition"=>"papapa"}
359
- Rendered text template (0.0ms)
360
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
361
-  (0.1ms) rollback transaction
362
-  (0.1ms) begin transaction
363
- ----------------------------------------------------------------
364
- SiringaControllerTest: test_load_action_passing_existing_factory
365
- ----------------------------------------------------------------
366
- Processing by Siringa::SiringaController#load as HTML
367
- Parameters: {"definition"=>"initial"}
368
-  (0.1ms) SAVEPOINT active_record_1
369
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
370
-  (0.1ms) RELEASE SAVEPOINT active_record_1
371
- Completed 201 Created in 9ms (Views: 0.4ms | ActiveRecord: 0.8ms)
372
-  (0.1ms) rollback transaction
373
-  (0.3ms) begin transaction
374
- ----------------------------------------------------------------------------
375
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
376
- ----------------------------------------------------------------------------
377
- Processing by Siringa::SiringaController#load as HTML
378
- Parameters: {"definition"=>"papapa"}
379
- Rendered text template (0.0ms)
380
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
381
-  (0.1ms) rollback transaction
382
-  (0.1ms) begin transaction
383
- ----------------------------------------------------------------
384
- SiringaControllerTest: test_load_action_passing_existing_factory
385
- ----------------------------------------------------------------
386
- Processing by Siringa::SiringaController#load as HTML
387
- Parameters: {"definition"=>"initial"}
388
-  (0.1ms) SAVEPOINT active_record_1
389
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
390
-  (0.1ms) RELEASE SAVEPOINT active_record_1
391
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
392
-  (0.1ms) rollback transaction
393
-  (0.3ms) begin transaction
394
- ----------------------------------------------------------------------------
395
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
396
- ----------------------------------------------------------------------------
397
- Processing by Siringa::SiringaController#load as HTML
398
- Parameters: {"definition"=>"papapa"}
399
- Rendered text template (0.0ms)
400
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
401
-  (0.1ms) rollback transaction
402
-  (0.1ms) begin transaction
403
- ----------------------------------------------------------------
404
- SiringaControllerTest: test_load_action_passing_existing_factory
405
- ----------------------------------------------------------------
406
- Processing by Siringa::SiringaController#load as HTML
407
- Parameters: {"definition"=>"initial"}
408
-  (0.1ms) SAVEPOINT active_record_1
409
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
410
-  (0.1ms) RELEASE SAVEPOINT active_record_1
411
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
412
-  (0.1ms) rollback transaction
413
-  (0.3ms) begin transaction
414
- ----------------------------------------------------------------------------
415
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
416
- ----------------------------------------------------------------------------
417
- Processing by Siringa::SiringaController#load as HTML
418
- Parameters: {"definition"=>"papapa"}
419
- Rendered text template (0.0ms)
420
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
421
-  (0.1ms) rollback transaction
422
-  (0.1ms) begin transaction
423
- ----------------------------------------------------------------
424
- SiringaControllerTest: test_load_action_passing_existing_factory
425
- ----------------------------------------------------------------
426
- Processing by Siringa::SiringaController#load as HTML
427
- Parameters: {"definition"=>"initial"}
428
- Completed 405 Method Not Allowed in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
429
-  (0.1ms) rollback transaction
430
-  (0.3ms) begin transaction
431
- ----------------------------------------------------------------------------
432
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
433
- ----------------------------------------------------------------------------
434
- Processing by Siringa::SiringaController#load as HTML
435
- Parameters: {"definition"=>"papapa"}
436
- Rendered text template (0.0ms)
437
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
438
-  (0.1ms) rollback transaction
439
-  (0.1ms) begin transaction
440
- ----------------------------------------------------------------
441
- SiringaControllerTest: test_load_action_passing_existing_factory
442
- ----------------------------------------------------------------
443
- Processing by Siringa::SiringaController#load as HTML
444
- Parameters: {"definition"=>"initial"}
445
-  (0.1ms) SAVEPOINT active_record_1
446
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
447
-  (0.1ms) RELEASE SAVEPOINT active_record_1
448
- Completed 201 Created in 7ms (Views: 0.3ms | ActiveRecord: 0.5ms)
449
-  (0.1ms) rollback transaction
450
-  (0.3ms) begin transaction
451
- ----------------------------------------------------------------------------
452
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
453
- ----------------------------------------------------------------------------
454
- Processing by Siringa::SiringaController#load as HTML
455
- Parameters: {"definition"=>"papapa"}
456
- Rendered text template (0.0ms)
457
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
458
-  (0.1ms) rollback transaction
459
-  (0.1ms) begin transaction
460
- ----------------------------------------------------------------
461
- SiringaControllerTest: test_load_action_passing_existing_factory
462
- ----------------------------------------------------------------
463
- Processing by Siringa::SiringaController#load as HTML
464
- Parameters: {"definition"=>"initial"}
465
-  (0.1ms) SAVEPOINT active_record_1
466
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
467
-  (0.1ms) RELEASE SAVEPOINT active_record_1
468
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.6ms)
469
-  (0.1ms) rollback transaction
470
-  (0.3ms) begin transaction
471
- ----------------------------------------------------------------------------
472
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
473
- ----------------------------------------------------------------------------
474
- Processing by Siringa::SiringaController#load as HTML
475
- Parameters: {"definition"=>"papapa"}
476
- Rendered text template (0.0ms)
477
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
478
-  (0.1ms) rollback transaction
479
-  (0.1ms) begin transaction
480
- ----------------------------------------------------------------
481
- SiringaControllerTest: test_load_action_passing_existing_factory
482
- ----------------------------------------------------------------
483
- Processing by Siringa::SiringaController#load as HTML
484
- Parameters: {"definition"=>"initial"}
485
-  (0.1ms) SAVEPOINT active_record_1
486
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
487
-  (0.1ms) RELEASE SAVEPOINT active_record_1
488
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
489
-  (0.1ms) rollback transaction
490
-  (0.3ms) begin transaction
491
- ----------------------------------------------------------------------------
492
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
493
- ----------------------------------------------------------------------------
494
- Processing by Siringa::SiringaController#load as HTML
495
- Parameters: {"definition"=>"papapa"}
496
- Rendered text template (0.0ms)
497
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
498
-  (0.1ms) rollback transaction
499
-  (0.1ms) begin transaction
500
- ----------------------------------------------------------------
501
- SiringaControllerTest: test_load_action_passing_existing_factory
502
- ----------------------------------------------------------------
503
- Processing by Siringa::SiringaController#load as HTML
504
- Parameters: {"definition"=>"initial"}
505
-  (0.1ms) SAVEPOINT active_record_1
506
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
507
-  (0.1ms) RELEASE SAVEPOINT active_record_1
508
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.8ms)
509
-  (0.1ms) rollback transaction
510
-  (0.3ms) begin transaction
511
- ----------------------------------------------------------------------------
512
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
513
- ----------------------------------------------------------------------------
514
- Processing by Siringa::SiringaController#load as HTML
515
- Parameters: {"definition"=>"papapa"}
516
- Rendered text template (0.0ms)
517
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
518
-  (0.1ms) rollback transaction
519
-  (0.1ms) begin transaction
520
- ----------------------------------------------------------------
521
- SiringaControllerTest: test_load_action_passing_existing_factory
522
- ----------------------------------------------------------------
523
- Processing by Siringa::SiringaController#load as HTML
524
- Parameters: {"definition"=>"initial"}
525
-  (0.1ms) SAVEPOINT active_record_1
526
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
527
-  (0.1ms) RELEASE SAVEPOINT active_record_1
528
- Completed 201 Created in 7ms (Views: 0.3ms | ActiveRecord: 0.6ms)
529
-  (0.1ms) rollback transaction
530
-  (0.3ms) begin transaction
531
- ----------------------------------------------------------------------------
532
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
533
- ----------------------------------------------------------------------------
534
- Processing by Siringa::SiringaController#load as HTML
535
- Parameters: {"definition"=>"papapa"}
536
- Rendered text template (0.0ms)
537
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
538
-  (0.1ms) rollback transaction
539
-  (0.1ms) begin transaction
540
- ----------------------------------------------------------------
541
- SiringaControllerTest: test_load_action_passing_existing_factory
542
- ----------------------------------------------------------------
543
- Processing by Siringa::SiringaController#load as HTML
544
- Parameters: {"definition"=>"initial"}
545
- Completed 405 Method Not Allowed in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
546
-  (0.1ms) rollback transaction
547
-  (0.3ms) begin transaction
548
- ----------------------------------------------------------------------------
549
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
550
- ----------------------------------------------------------------------------
551
- Processing by Siringa::SiringaController#load as HTML
552
- Parameters: {"definition"=>"papapa"}
553
- Rendered text template (0.0ms)
554
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
555
-  (0.3ms) rollback transaction
556
-  (0.2ms) begin transaction
557
- ----------------------------------------------------------------
558
- SiringaControllerTest: test_load_action_passing_existing_factory
559
- ----------------------------------------------------------------
560
- Processing by Siringa::SiringaController#load as HTML
561
- Parameters: {"definition"=>"initial"}
562
- Completed 405 Method Not Allowed in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
563
-  (0.1ms) rollback transaction
564
-  (0.3ms) begin transaction
565
- ----------------------------------------------------------------------------
566
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
567
- ----------------------------------------------------------------------------
568
- Processing by Siringa::SiringaController#load as HTML
569
- Parameters: {"definition"=>"papapa"}
570
- Rendered text template (0.0ms)
571
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
572
-  (0.1ms) rollback transaction
573
-  (0.1ms) begin transaction
574
- ----------------------------------------------------------------
575
- SiringaControllerTest: test_load_action_passing_existing_factory
576
- ----------------------------------------------------------------
577
- Processing by Siringa::SiringaController#load as HTML
578
- Parameters: {"definition"=>"initial"}
579
- Completed 405 Method Not Allowed in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
580
-  (0.1ms) rollback transaction
581
-  (0.3ms) begin transaction
582
- ----------------------------------------------------------------------------
583
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
584
- ----------------------------------------------------------------------------
585
- Processing by Siringa::SiringaController#load as HTML
586
- Parameters: {"definition"=>"papapa"}
587
- Rendered text template (0.0ms)
588
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
589
-  (0.1ms) rollback transaction
590
-  (0.1ms) begin transaction
591
- ----------------------------------------------------------------
592
- SiringaControllerTest: test_load_action_passing_existing_factory
593
- ----------------------------------------------------------------
594
- Processing by Siringa::SiringaController#load as HTML
595
- Parameters: {"definition"=>"initial"}
596
- Completed 405 Method Not Allowed in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
597
-  (0.1ms) rollback transaction
598
-  (0.3ms) begin transaction
599
- ----------------------------------------------------------------------------
600
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
601
- ----------------------------------------------------------------------------
602
- Processing by Siringa::SiringaController#load as HTML
603
- Parameters: {"definition"=>"papapa"}
604
- Rendered text template (0.0ms)
605
- Completed 405 Method Not Allowed in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
606
-  (0.1ms) rollback transaction
607
-  (0.1ms) begin transaction
608
- ----------------------------------------------------------------
609
- SiringaControllerTest: test_load_action_passing_existing_factory
610
- ----------------------------------------------------------------
611
- Processing by Siringa::SiringaController#load as HTML
612
- Parameters: {"definition"=>"initial"}
613
- Completed 405 Method Not Allowed in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
614
-  (0.1ms) rollback transaction
615
-  (0.3ms) begin transaction
616
- ----------------------------------------------------------------------------
617
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
618
- ----------------------------------------------------------------------------
619
- Processing by Siringa::SiringaController#load as HTML
620
- Parameters: {"definition"=>"papapa"}
621
- Rendered text template (0.0ms)
622
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
623
-  (0.1ms) rollback transaction
624
-  (0.1ms) begin transaction
625
- ----------------------------------------------------------------
626
- SiringaControllerTest: test_load_action_passing_existing_factory
627
- ----------------------------------------------------------------
628
- Processing by Siringa::SiringaController#load as HTML
629
- Parameters: {"definition"=>"initial"}
630
-  (0.1ms) SAVEPOINT active_record_1
631
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
632
-  (0.1ms) RELEASE SAVEPOINT active_record_1
633
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.6ms)
634
-  (0.1ms) rollback transaction
635
-  (0.3ms) begin transaction
636
- ----------------------------------------------------------------------------
637
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
638
- ----------------------------------------------------------------------------
639
- Processing by Siringa::SiringaController#load as HTML
640
- Parameters: {"definition"=>"papapa"}
641
- Rendered text template (0.0ms)
642
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
643
-  (0.1ms) rollback transaction
644
-  (0.1ms) begin transaction
645
- ----------------------------------------------------------------
646
- SiringaControllerTest: test_load_action_passing_existing_factory
647
- ----------------------------------------------------------------
648
- Processing by Siringa::SiringaController#load as HTML
649
- Parameters: {"definition"=>"initial"}
650
- Completed 405 Method Not Allowed in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
651
-  (0.1ms) rollback transaction
652
-  (0.3ms) begin transaction
653
- ----------------------------------------------------------------------------
654
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
655
- ----------------------------------------------------------------------------
656
- Processing by Siringa::SiringaController#load as HTML
657
- Parameters: {"definition"=>"papapa"}
658
- Rendered text template (0.0ms)
659
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
660
-  (0.1ms) rollback transaction
661
-  (0.1ms) begin transaction
662
- ----------------------------------------------------------------
663
- SiringaControllerTest: test_load_action_passing_existing_factory
664
- ----------------------------------------------------------------
665
- Processing by Siringa::SiringaController#load as HTML
666
- Parameters: {"definition"=>"initial"}
667
-  (0.1ms) SAVEPOINT active_record_1
668
- SQL (29919.8ms) INSERT INTO "users" DEFAULT VALUES
669
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
670
- Completed 500 Internal Server Error in 29931ms
671
-  (0.2ms) rollback transaction
672
-  (0.3ms) begin transaction
673
- ----------------------------------------------------------------------------
674
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
675
- ----------------------------------------------------------------------------
676
- Processing by Siringa::SiringaController#load as HTML
677
- Parameters: {"definition"=>"papapa"}
678
- Rendered text template (0.0ms)
679
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
680
-  (0.1ms) rollback transaction
681
-  (0.1ms) begin transaction
682
- ----------------------------------------------------------------
683
- SiringaControllerTest: test_load_action_passing_existing_factory
684
- ----------------------------------------------------------------
685
- Processing by Siringa::SiringaController#load as HTML
686
- Parameters: {"definition"=>"initial"}
687
-  (0.1ms) SAVEPOINT active_record_1
688
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
689
-  (0.1ms) RELEASE SAVEPOINT active_record_1
690
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
691
-  (0.1ms) rollback transaction
692
-  (0.3ms) begin transaction
693
- ----------------------------------------------------------------------------
694
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
695
- ----------------------------------------------------------------------------
696
- Processing by Siringa::SiringaController#load as HTML
697
- Parameters: {"definition"=>"papapa"}
698
- Rendered text template (0.0ms)
699
- Completed 405 Method Not Allowed in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
700
-  (0.1ms) rollback transaction
701
-  (0.1ms) begin transaction
702
- ----------------------------------------------------------------
703
- SiringaControllerTest: test_load_action_passing_existing_factory
704
- ----------------------------------------------------------------
705
- Processing by Siringa::SiringaController#load as HTML
706
- Parameters: {"definition"=>"initial"}
707
-  (0.1ms) SAVEPOINT active_record_1
708
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
709
-  (0.1ms) RELEASE SAVEPOINT active_record_1
710
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.6ms)
711
-  (0.1ms) rollback transaction
712
-  (0.3ms) begin transaction
713
- ----------------------------------------------------------------------------
714
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
715
- ----------------------------------------------------------------------------
716
- Processing by Siringa::SiringaController#load as HTML
717
- Parameters: {"definition"=>"papapa"}
718
- Rendered text template (0.0ms)
719
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
720
-  (0.1ms) rollback transaction
721
-  (0.1ms) begin transaction
722
- ----------------------------------------------------------------
723
- SiringaControllerTest: test_load_action_passing_existing_factory
724
- ----------------------------------------------------------------
725
- Processing by Siringa::SiringaController#load as HTML
726
- Parameters: {"definition"=>"initial"}
727
-  (0.1ms) SAVEPOINT active_record_1
728
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
729
-  (0.1ms) RELEASE SAVEPOINT active_record_1
730
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
731
-  (0.1ms) rollback transaction
732
-  (0.3ms) begin transaction
733
- ----------------------------------------------------------------------------
734
- SiringaControllerTest: test_load_action_passing_a_factory_that_doesn't_exist
735
- ----------------------------------------------------------------------------
736
- Processing by Siringa::SiringaController#load as HTML
737
- Parameters: {"definition"=>"papapa"}
738
- Rendered text template (0.0ms)
739
- Completed 405 Method Not Allowed in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
740
-  (0.1ms) rollback transaction
741
-  (0.1ms) begin transaction
742
- ----------------------------------------------------------------
743
- SiringaControllerTest: test_load_action_passing_existing_factory
744
- ----------------------------------------------------------------
745
- Processing by Siringa::SiringaController#load as HTML
746
- Parameters: {"definition"=>"initial"}
747
-  (0.1ms) SAVEPOINT active_record_1
748
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
749
-  (0.1ms) RELEASE SAVEPOINT active_record_1
750
- Completed 201 Created in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
751
-  (0.1ms) rollback transaction
752
-  (0.3ms) begin transaction
753
- ---------------------------------------------------------------------------------------
754
- SiringaControllerTest: test_load_definition_action_passing_a_factory_that_doesn't_exist
755
- ---------------------------------------------------------------------------------------
756
- Processing by Siringa::SiringaController#load_definition as HTML
757
- Parameters: {"definition"=>"papapa"}
758
- Completed 405 Method Not Allowed in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
759
-  (0.1ms) rollback transaction
760
-  (0.1ms) begin transaction
761
- --------------------------------------------------------------------
762
- SiringaControllerTest: test_load_definition_action_passing_arguments
763
- --------------------------------------------------------------------
764
- Processing by Siringa::SiringaController#load_definition as HTML
765
- Parameters: {"definition"=>"definition_with_arguments", "siringa_args"=>{"name"=>"Robb Stark"}}
766
-  (0.0ms) SAVEPOINT active_record_1
767
- SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES
768
-  (0.1ms) RELEASE SAVEPOINT active_record_1
769
- Completed 201 Created in 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
770
-  (0.1ms) rollback transaction
771
-  (0.0ms) begin transaction
772
- ---------------------------------------------------------------------------
773
- SiringaControllerTest: test_load_definition_action_passing_existing_factory
774
- ---------------------------------------------------------------------------
775
- Processing by Siringa::SiringaController#load_definition as HTML
776
- Parameters: {"definition"=>"initial"}
777
-  (0.1ms) SAVEPOINT active_record_1
778
- SQL (0.1ms) INSERT INTO "users" DEFAULT VALUES
779
-  (0.0ms) RELEASE SAVEPOINT active_record_1
780
- Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
781
-  (0.1ms) rollback transaction
782
-  (0.0ms) begin transaction
783
- --------------------------------------------------------------------------
784
- SiringaControllerTest: test_load_definition_action_returning_JSON_response
785
- --------------------------------------------------------------------------
786
- Processing by Siringa::SiringaController#load_definition as HTML
787
- Parameters: {"definition"=>"definition_with_return", "siringa_args"=>{"name"=>"Ned"}}
788
-  (0.1ms) SAVEPOINT active_record_1
789
- SQL (0.1ms) INSERT INTO "users" DEFAULT VALUES
790
-  (0.0ms) RELEASE SAVEPOINT active_record_1
791
- Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
792
-  (0.1ms) rollback transaction