repia 0.2.0 → 0.3.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 +4 -4
- data/README.md +4 -4
- data/lib/repia.rb +5 -5
- data/lib/repia/controller.rb +1 -0
- data/lib/repia/controller/base.rb +32 -0
- data/lib/repia/helper.rb +1 -0
- data/lib/repia/helper/base.rb +82 -0
- data/lib/repia/middlewares.rb +1 -30
- data/lib/repia/middlewares/http_method_not_allowed.rb +32 -0
- data/lib/repia/support.rb +1 -0
- data/lib/repia/support/uuid_model.rb +31 -0
- data/lib/repia/version.rb +1 -1
- data/test/dummy/app/controllers/application_controller.rb +1 -1
- data/test/dummy/app/models/unique_model.rb +1 -1
- data/test/repia_middlewares_test.rb +2 -2
- metadata +42 -40
- data/lib/repia/base_controller.rb +0 -33
- data/lib/repia/base_helper.rb +0 -83
- data/lib/repia/uuid_model.rb +0 -28
- data/test/dummy/log/test.log +0 -1783
@@ -1,33 +0,0 @@
|
|
1
|
-
require 'json'
|
2
|
-
require 'repia/errors'
|
3
|
-
require 'repia/base_helper'
|
4
|
-
|
5
|
-
module Repia
|
6
|
-
|
7
|
-
##
|
8
|
-
# This controller is a base controller for RESTful API. Two primary
|
9
|
-
# features:
|
10
|
-
#
|
11
|
-
# - Error (exception) handling
|
12
|
-
# - Options request handling
|
13
|
-
#
|
14
|
-
class BaseController < ActionController::Base
|
15
|
-
include BaseHelper
|
16
|
-
|
17
|
-
# This is a catch-all.
|
18
|
-
rescue_from StandardError do |exception|
|
19
|
-
logger.error exception.message
|
20
|
-
render_error 500, "Unknown error occurred: #{exception.message}"
|
21
|
-
end
|
22
|
-
|
23
|
-
# Catch all manually thrown HTTP errors (predefined by repia)
|
24
|
-
rescue_from Errors::HTTPError do |exception|
|
25
|
-
status_code = exception.class.const_get("STATUS_CODE")
|
26
|
-
message = exception.message || exception.class::MESSAGE
|
27
|
-
logger.error "#{status_code} - #{message}"
|
28
|
-
render_error status_code, message
|
29
|
-
end
|
30
|
-
|
31
|
-
end
|
32
|
-
|
33
|
-
end
|
data/lib/repia/base_helper.rb
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
require 'repia/errors'
|
2
|
-
|
3
|
-
module Repia
|
4
|
-
|
5
|
-
##
|
6
|
-
# This helper module includes methods that are essential for building a
|
7
|
-
# RESTful API.
|
8
|
-
#
|
9
|
-
module BaseHelper
|
10
|
-
|
11
|
-
##
|
12
|
-
# Use this as an action triggered by exceptions_app to return a JSON
|
13
|
-
# response to any middleware level exceptions.
|
14
|
-
#
|
15
|
-
# For example,
|
16
|
-
#
|
17
|
-
# config.exceptions_app = lambda { |env|
|
18
|
-
# ApplicationController.action(:exceptions_app).call(env)
|
19
|
-
# }
|
20
|
-
#
|
21
|
-
def exceptions_app
|
22
|
-
ex_wrapper = ActionDispatch::ExceptionWrapper.new(Rails.env, @exception)
|
23
|
-
status = ex_wrapper.status_code.to_i
|
24
|
-
error = Errors::STATUS_CODE_TO_ERROR[status]
|
25
|
-
if error
|
26
|
-
message = error::MESSAGE
|
27
|
-
else
|
28
|
-
# :nocov:
|
29
|
-
status = 500
|
30
|
-
message = "Unknown error"
|
31
|
-
# :nocov:
|
32
|
-
end
|
33
|
-
render_error status, message
|
34
|
-
end
|
35
|
-
|
36
|
-
##
|
37
|
-
# Renders a generic OPTIONS response. The actual controller must
|
38
|
-
# override this action if desired to have specific OPTIONS handling
|
39
|
-
# logic.
|
40
|
-
#
|
41
|
-
def options
|
42
|
-
# echo back access-control-request-headers
|
43
|
-
if request.headers["Access-Control-Request-Headers"]
|
44
|
-
response["Access-Control-Allow-Headers"] =
|
45
|
-
request.headers["Access-Control-Request-Headers"]
|
46
|
-
end
|
47
|
-
render body: "", status: 200
|
48
|
-
end
|
49
|
-
|
50
|
-
##
|
51
|
-
# Renders a single error.
|
52
|
-
#
|
53
|
-
def render_error(status, msg)
|
54
|
-
render json: {errors: [msg]}, status: status
|
55
|
-
end
|
56
|
-
|
57
|
-
##
|
58
|
-
# Renders multiple errors
|
59
|
-
#
|
60
|
-
def render_errors(status, msgs)
|
61
|
-
render json: {errors: msgs}, status: status
|
62
|
-
end
|
63
|
-
|
64
|
-
# undef :find_object if method_defined? :find_object
|
65
|
-
##
|
66
|
-
# Finds an object by model and UUID and throws an error (which will be
|
67
|
-
# caught and re-thrown as an HTTP error) if the object does not exist.
|
68
|
-
# The error can be optionally suppresed by specifying nil to error.
|
69
|
-
#
|
70
|
-
# An Repia::Errors::NotFound is raised if specified to do so when
|
71
|
-
# the object could not be found using the uuid.
|
72
|
-
#
|
73
|
-
def find_object(model, uuid, error: Errors::NotFound)
|
74
|
-
logger.debug("Attempting to get #{model.name} #{uuid}")
|
75
|
-
obj = model.find_by_uuid(uuid)
|
76
|
-
if obj.nil? && !error.nil?
|
77
|
-
raise error, "#{model.name} #{uuid} cannot be found"
|
78
|
-
end
|
79
|
-
return obj
|
80
|
-
end
|
81
|
-
|
82
|
-
end
|
83
|
-
end
|
data/lib/repia/uuid_model.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
|
2
|
-
module Repia
|
3
|
-
|
4
|
-
##
|
5
|
-
# This module is a mixin that allows the model to use UUIDs instead of
|
6
|
-
# normal IDs. By including this module, the model class declares that the
|
7
|
-
# primary key is called "uuid" and an UUID is generated right before
|
8
|
-
# save(). You may assign an UUID prior to save, in which case, no new UUID
|
9
|
-
# will be generated.
|
10
|
-
#
|
11
|
-
module UUIDModel
|
12
|
-
|
13
|
-
##
|
14
|
-
# Triggered when this module is included.
|
15
|
-
#
|
16
|
-
def self.included(klass)
|
17
|
-
klass.primary_key = "uuid"
|
18
|
-
klass.before_create :generate_uuid
|
19
|
-
end
|
20
|
-
|
21
|
-
##
|
22
|
-
# Generates an UUID for the model object.
|
23
|
-
#
|
24
|
-
def generate_uuid()
|
25
|
-
self.uuid = UUIDTools::UUID.timestamp_create().to_s if self.uuid.nil?
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
data/test/dummy/log/test.log
DELETED
@@ -1,1783 +0,0 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
-
[1m[35m (0.1ms)[0m begin transaction
|
3
|
-
----------------------------------------------------------------------------------------
|
4
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
5
|
-
----------------------------------------------------------------------------------------
|
6
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
7
|
-
[1m[35m (0.0ms)[0m begin transaction
|
8
|
-
----------------------------------------------------------------------------------
|
9
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
10
|
-
----------------------------------------------------------------------------------
|
11
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f824d4558b8>, "rack.errors"=>#<StringIO:0x007f824d455d90>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
12
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13
|
-
[1m[35m (0.0ms)[0m begin transaction
|
14
|
-
-----------------------------------------------------------------------
|
15
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
16
|
-
-----------------------------------------------------------------------
|
17
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
18
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?) [["created_at", "2016-07-10 22:09:29.316829"], ["updated_at", "2016-07-10 22:09:29.316829"], ["uuid", "f8e113a8-46ea-11e6-91df-9801a78f6ec1"]]
|
19
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
21
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
-
-------------------------------------------------------------
|
23
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
24
|
-
-------------------------------------------------------------
|
25
|
-
Processing by TestsController#show as HTML
|
26
|
-
Parameters: {"id"=>"400"}
|
27
|
-
400 - Repia::Errors::BadRequest
|
28
|
-
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
29
|
-
Processing by TestsController#show as HTML
|
30
|
-
Parameters: {"id"=>"401"}
|
31
|
-
401 - Repia::Errors::Unauthorized
|
32
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
33
|
-
Processing by TestsController#show as HTML
|
34
|
-
Parameters: {"id"=>"404"}
|
35
|
-
404 - Repia::Errors::NotFound
|
36
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37
|
-
Processing by TestsController#show as HTML
|
38
|
-
Parameters: {"id"=>"409"}
|
39
|
-
409 - Repia::Errors::Conflict
|
40
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
41
|
-
Processing by TestsController#show as HTML
|
42
|
-
Parameters: {"id"=>"500"}
|
43
|
-
500 - Repia::Errors::InternalServerError
|
44
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
47
|
-
-----------------------------------------------
|
48
|
-
TestsControllerTest: test_handle_standard_error
|
49
|
-
-----------------------------------------------
|
50
|
-
Processing by TestsController#index as HTML
|
51
|
-
StandardError
|
52
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
53
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
54
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
55
|
-
----------------------------------------------------
|
56
|
-
TestsControllerTest: test_options_request_is_handled
|
57
|
-
----------------------------------------------------
|
58
|
-
Processing by TestsController#options as HTML
|
59
|
-
Rendered text template (0.0ms)
|
60
|
-
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
|
61
|
-
Processing by TestsController#options as HTML
|
62
|
-
Rendered text template (0.0ms)
|
63
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
64
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
65
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66
|
-
----------------------------------------------------------------
|
67
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
68
|
-
----------------------------------------------------------------
|
69
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "unique_models" ("created_at", "updated_at", "uuid") VALUES (?, ?, ?)[0m [["created_at", "2016-07-10 22:09:29.360728"], ["updated_at", "2016-07-10 22:09:29.360728"], ["uuid", "f8e7f042-46ea-11e6-91df-9801a78f6ec1"]]
|
71
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
72
|
-
Processing by TestsController#show as HTML
|
73
|
-
Parameters: {"id"=>"f8e7f042-46ea-11e6-91df-9801a78f6ec1"}
|
74
|
-
Attempting to get UniqueModel f8e7f042-46ea-11e6-91df-9801a78f6ec1
|
75
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1[0m [["uuid", "f8e7f042-46ea-11e6-91df-9801a78f6ec1"]]
|
76
|
-
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
77
|
-
[1m[35m (1.9ms)[0m rollback transaction
|
78
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79
|
-
-------------------------------------------------------------------------
|
80
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
81
|
-
-------------------------------------------------------------------------
|
82
|
-
Processing by TestsController#show as HTML
|
83
|
-
Parameters: {"id"=>"blah"}
|
84
|
-
Attempting to get UniqueModel blah
|
85
|
-
[1m[35mUniqueModel Load (0.1ms)[0m SELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT 1 [["uuid", "blah"]]
|
86
|
-
404 - UniqueModel blah cannot be found
|
87
|
-
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
88
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89
|
-
[1m[35m (0.0ms)[0m begin transaction
|
90
|
-
------------------------------------------------
|
91
|
-
TestsControllerTest: test_render_multiple_errors
|
92
|
-
------------------------------------------------
|
93
|
-
Processing by TestsController#index as HTML
|
94
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
95
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
96
|
-
[1m[35m (0.0ms)[0m begin transaction
|
97
|
-
----------------------------------------
|
98
|
-
TestsControllerTest: test_exceptions_app
|
99
|
-
----------------------------------------
|
100
|
-
Processing by TestsController#show as HTML
|
101
|
-
Parameters: {"id"=>"blah"}
|
102
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
103
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
104
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
105
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
106
|
-
----------------------------------------------------------------------------------------
|
107
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
108
|
-
----------------------------------------------------------------------------------------
|
109
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
110
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
111
|
-
----------------------------------------------------------------------------------
|
112
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
113
|
-
----------------------------------------------------------------------------------
|
114
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc32ce5e830>, "rack.errors"=>#<StringIO:0x007fc32ce5e8a8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
115
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
116
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
117
|
-
-----------------------------------------------------------------------
|
118
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
119
|
-
-----------------------------------------------------------------------
|
120
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
121
|
-
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "e4eb81fc-a564-11e6-9a54-9801a78f6ec1"], ["created_at", 2016-11-08 03:39:03 UTC], ["updated_at", 2016-11-08 03:39:03 UTC]]
|
122
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
123
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
124
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
125
|
-
-----------------------------------------------
|
126
|
-
TestsControllerTest: test_handle_standard_error
|
127
|
-
-----------------------------------------------
|
128
|
-
Processing by TestsController#index as HTML
|
129
|
-
StandardError
|
130
|
-
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
131
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
132
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
133
|
-
-------------------------------------------------------------
|
134
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
135
|
-
-------------------------------------------------------------
|
136
|
-
Processing by TestsController#show as HTML
|
137
|
-
Parameters: {"id"=>"400"}
|
138
|
-
400 - Repia::Errors::BadRequest
|
139
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
140
|
-
Processing by TestsController#show as HTML
|
141
|
-
Parameters: {"id"=>"401"}
|
142
|
-
401 - Repia::Errors::Unauthorized
|
143
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
144
|
-
Processing by TestsController#show as HTML
|
145
|
-
Parameters: {"id"=>"404"}
|
146
|
-
404 - Repia::Errors::NotFound
|
147
|
-
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
148
|
-
Processing by TestsController#show as HTML
|
149
|
-
Parameters: {"id"=>"409"}
|
150
|
-
409 - Repia::Errors::Conflict
|
151
|
-
Completed 409 Conflict in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
152
|
-
Processing by TestsController#show as HTML
|
153
|
-
Parameters: {"id"=>"500"}
|
154
|
-
500 - Repia::Errors::InternalServerError
|
155
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
156
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
157
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
158
|
-
----------------------------------------
|
159
|
-
TestsControllerTest: test_exceptions_app
|
160
|
-
----------------------------------------
|
161
|
-
Processing by TestsController#show as HTML
|
162
|
-
Parameters: {"id"=>"blah"}
|
163
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
164
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
165
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
166
|
-
-------------------------------------------------------------------------
|
167
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
168
|
-
-------------------------------------------------------------------------
|
169
|
-
Processing by TestsController#show as HTML
|
170
|
-
Parameters: {"id"=>"blah"}
|
171
|
-
Attempting to get UniqueModel blah
|
172
|
-
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
173
|
-
404 - UniqueModel blah cannot be found
|
174
|
-
Completed 404 Not Found in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
175
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
176
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
177
|
-
----------------------------------------------------------------
|
178
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
179
|
-
----------------------------------------------------------------
|
180
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
181
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "e4f342c0-a564-11e6-9a54-9801a78f6ec1"], ["created_at", 2016-11-08 03:39:03 UTC], ["updated_at", 2016-11-08 03:39:03 UTC]]
|
182
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
183
|
-
Processing by TestsController#show as HTML
|
184
|
-
Parameters: {"id"=>"e4f342c0-a564-11e6-9a54-9801a78f6ec1"}
|
185
|
-
Attempting to get UniqueModel e4f342c0-a564-11e6-9a54-9801a78f6ec1
|
186
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "e4f342c0-a564-11e6-9a54-9801a78f6ec1"], ["LIMIT", 1]]
|
187
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
188
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
189
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
190
|
-
----------------------------------------------------
|
191
|
-
TestsControllerTest: test_options_request_is_handled
|
192
|
-
----------------------------------------------------
|
193
|
-
Processing by TestsController#options as HTML
|
194
|
-
Rendering text template
|
195
|
-
Rendered text template (0.0ms)
|
196
|
-
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
197
|
-
Processing by TestsController#options as HTML
|
198
|
-
Rendering text template
|
199
|
-
Rendered text template (0.0ms)
|
200
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
201
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
202
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
203
|
-
------------------------------------------------
|
204
|
-
TestsControllerTest: test_render_multiple_errors
|
205
|
-
------------------------------------------------
|
206
|
-
Processing by TestsController#index as HTML
|
207
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
208
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
209
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
210
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
211
|
-
-------------------------------------------------------------------------
|
212
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
213
|
-
-------------------------------------------------------------------------
|
214
|
-
Processing by TestsController#show as HTML
|
215
|
-
Parameters: {"id"=>"blah"}
|
216
|
-
Attempting to get UniqueModel blah
|
217
|
-
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
218
|
-
404 - UniqueModel blah cannot be found
|
219
|
-
Completed 404 Not Found in 8ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
220
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
221
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
222
|
-
-------------------------------------------------------------
|
223
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
224
|
-
-------------------------------------------------------------
|
225
|
-
Processing by TestsController#show as HTML
|
226
|
-
Parameters: {"id"=>"400"}
|
227
|
-
400 - Repia::Errors::BadRequest
|
228
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
229
|
-
Processing by TestsController#show as HTML
|
230
|
-
Parameters: {"id"=>"401"}
|
231
|
-
401 - Repia::Errors::Unauthorized
|
232
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
233
|
-
Processing by TestsController#show as HTML
|
234
|
-
Parameters: {"id"=>"404"}
|
235
|
-
404 - Repia::Errors::NotFound
|
236
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
237
|
-
Processing by TestsController#show as HTML
|
238
|
-
Parameters: {"id"=>"409"}
|
239
|
-
409 - Repia::Errors::Conflict
|
240
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
241
|
-
Processing by TestsController#show as HTML
|
242
|
-
Parameters: {"id"=>"500"}
|
243
|
-
500 - Repia::Errors::InternalServerError
|
244
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
245
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
246
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
247
|
-
-----------------------------------------------
|
248
|
-
TestsControllerTest: test_handle_standard_error
|
249
|
-
-----------------------------------------------
|
250
|
-
Processing by TestsController#index as HTML
|
251
|
-
StandardError
|
252
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
253
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
254
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
255
|
-
------------------------------------------------
|
256
|
-
TestsControllerTest: test_render_multiple_errors
|
257
|
-
------------------------------------------------
|
258
|
-
Processing by TestsController#index as HTML
|
259
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
260
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
261
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
|
-
----------------------------------------------------------------
|
263
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
264
|
-
----------------------------------------------------------------
|
265
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
266
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "6d50bb1a-a566-11e6-b26c-9801a78f6ec1"], ["created_at", 2016-11-08 03:50:02 UTC], ["updated_at", 2016-11-08 03:50:02 UTC]]
|
267
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
268
|
-
Processing by TestsController#show as HTML
|
269
|
-
Parameters: {"id"=>"6d50bb1a-a566-11e6-b26c-9801a78f6ec1"}
|
270
|
-
Attempting to get UniqueModel 6d50bb1a-a566-11e6-b26c-9801a78f6ec1
|
271
|
-
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "6d50bb1a-a566-11e6-b26c-9801a78f6ec1"], ["LIMIT", 1]]
|
272
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
273
|
-
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
274
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
275
|
-
----------------------------------------
|
276
|
-
TestsControllerTest: test_exceptions_app
|
277
|
-
----------------------------------------
|
278
|
-
Processing by TestsController#show as HTML
|
279
|
-
Parameters: {"id"=>"blah"}
|
280
|
-
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
281
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
282
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
283
|
-
----------------------------------------------------
|
284
|
-
TestsControllerTest: test_options_request_is_handled
|
285
|
-
----------------------------------------------------
|
286
|
-
Processing by TestsController#options as HTML
|
287
|
-
Rendering text template
|
288
|
-
Rendered text template (0.0ms)
|
289
|
-
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
290
|
-
Processing by TestsController#options as HTML
|
291
|
-
Rendering text template
|
292
|
-
Rendered text template (0.0ms)
|
293
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
294
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
295
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
296
|
-
-----------------------------------------------------------------------
|
297
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
298
|
-
-----------------------------------------------------------------------
|
299
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
300
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "6d55e77a-a566-11e6-b26c-9801a78f6ec1"], ["created_at", 2016-11-08 03:50:02 UTC], ["updated_at", 2016-11-08 03:50:02 UTC]]
|
301
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
302
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
303
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
304
|
-
----------------------------------------------------------------------------------------
|
305
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
306
|
-
----------------------------------------------------------------------------------------
|
307
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
308
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
309
|
-
----------------------------------------------------------------------------------
|
310
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
311
|
-
----------------------------------------------------------------------------------
|
312
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f930a10e588>, "rack.errors"=>#<StringIO:0x007f930a10e678>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
313
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
314
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
315
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
316
|
-
----------------------------------------
|
317
|
-
TestsControllerTest: test_exceptions_app
|
318
|
-
----------------------------------------
|
319
|
-
Processing by TestsController#show as HTML
|
320
|
-
Parameters: {"id"=>"blah"}
|
321
|
-
Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
322
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
323
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
324
|
-
-----------------------------------------------
|
325
|
-
TestsControllerTest: test_handle_standard_error
|
326
|
-
-----------------------------------------------
|
327
|
-
Processing by TestsController#index as HTML
|
328
|
-
StandardError
|
329
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
330
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
331
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
332
|
-
-------------------------------------------------------------------------
|
333
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
334
|
-
-------------------------------------------------------------------------
|
335
|
-
Processing by TestsController#show as HTML
|
336
|
-
Parameters: {"id"=>"blah"}
|
337
|
-
Attempting to get UniqueModel blah
|
338
|
-
[1m[36mUniqueModel Load (0.3ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
339
|
-
404 - UniqueModel blah cannot be found
|
340
|
-
Completed 404 Not Found in 8ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
341
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
342
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
343
|
-
------------------------------------------------
|
344
|
-
TestsControllerTest: test_render_multiple_errors
|
345
|
-
------------------------------------------------
|
346
|
-
Processing by TestsController#index as HTML
|
347
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
348
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
349
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
350
|
-
----------------------------------------------------------------
|
351
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
352
|
-
----------------------------------------------------------------
|
353
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
354
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"], ["created_at", 2016-11-12 15:36:08 UTC], ["updated_at", 2016-11-12 15:36:08 UTC]]
|
355
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
356
|
-
Processing by TestsController#show as HTML
|
357
|
-
Parameters: {"id"=>"bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"}
|
358
|
-
Attempting to get UniqueModel bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1
|
359
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "bb195c0a-a8ed-11e6-bf2c-9801a78f6ec1"], ["LIMIT", 1]]
|
360
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
361
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
362
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
363
|
-
----------------------------------------------------
|
364
|
-
TestsControllerTest: test_options_request_is_handled
|
365
|
-
----------------------------------------------------
|
366
|
-
Processing by TestsController#options as HTML
|
367
|
-
Rendering text template
|
368
|
-
Rendered text template (0.0ms)
|
369
|
-
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
370
|
-
Processing by TestsController#options as HTML
|
371
|
-
Rendering text template
|
372
|
-
Rendered text template (0.0ms)
|
373
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
374
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
375
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
376
|
-
-------------------------------------------------------------
|
377
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
378
|
-
-------------------------------------------------------------
|
379
|
-
Processing by TestsController#show as HTML
|
380
|
-
Parameters: {"id"=>"400"}
|
381
|
-
400 - Repia::Errors::BadRequest
|
382
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
383
|
-
Processing by TestsController#show as HTML
|
384
|
-
Parameters: {"id"=>"401"}
|
385
|
-
401 - Repia::Errors::Unauthorized
|
386
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
387
|
-
Processing by TestsController#show as HTML
|
388
|
-
Parameters: {"id"=>"404"}
|
389
|
-
404 - Repia::Errors::NotFound
|
390
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
391
|
-
Processing by TestsController#show as HTML
|
392
|
-
Parameters: {"id"=>"409"}
|
393
|
-
409 - Repia::Errors::Conflict
|
394
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
395
|
-
Processing by TestsController#show as HTML
|
396
|
-
Parameters: {"id"=>"500"}
|
397
|
-
500 - Repia::Errors::InternalServerError
|
398
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
399
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
400
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
-----------------------------------------------------------------------
|
402
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
403
|
-
-----------------------------------------------------------------------
|
404
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
405
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "bb1f660e-a8ed-11e6-bf2c-9801a78f6ec1"], ["created_at", 2016-11-12 15:36:08 UTC], ["updated_at", 2016-11-12 15:36:08 UTC]]
|
406
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
407
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
408
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
409
|
-
----------------------------------------------------------------------------------------
|
410
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
411
|
-
----------------------------------------------------------------------------------------
|
412
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
413
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
414
|
-
----------------------------------------------------------------------------------
|
415
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
416
|
-
----------------------------------------------------------------------------------
|
417
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc6faa90f60>, "rack.errors"=>#<StringIO:0x007fc6faa91118>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
418
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
419
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
420
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
421
|
-
----------------------------------------------------------------
|
422
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
423
|
-
----------------------------------------------------------------
|
424
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
425
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "430ddbe0-a8ee-11e6-95da-9801a78f6ec1"], ["created_at", 2016-11-12 15:39:56 UTC], ["updated_at", 2016-11-12 15:39:56 UTC]]
|
426
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
427
|
-
Processing by TestsController#show as HTML
|
428
|
-
Parameters: {"id"=>"430ddbe0-a8ee-11e6-95da-9801a78f6ec1"}
|
429
|
-
Attempting to get UniqueModel 430ddbe0-a8ee-11e6-95da-9801a78f6ec1
|
430
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "430ddbe0-a8ee-11e6-95da-9801a78f6ec1"], ["LIMIT", 1]]
|
431
|
-
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
432
|
-
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
433
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
434
|
-
----------------------------------------
|
435
|
-
TestsControllerTest: test_exceptions_app
|
436
|
-
----------------------------------------
|
437
|
-
Processing by TestsController#show as HTML
|
438
|
-
Parameters: {"id"=>"blah"}
|
439
|
-
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
440
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
441
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
442
|
-
-----------------------------------------------
|
443
|
-
TestsControllerTest: test_handle_standard_error
|
444
|
-
-----------------------------------------------
|
445
|
-
Processing by TestsController#index as HTML
|
446
|
-
StandardError
|
447
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
448
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
449
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
450
|
-
-------------------------------------------------------------------------
|
451
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
452
|
-
-------------------------------------------------------------------------
|
453
|
-
Processing by TestsController#show as HTML
|
454
|
-
Parameters: {"id"=>"blah"}
|
455
|
-
Attempting to get UniqueModel blah
|
456
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
457
|
-
404 - UniqueModel blah cannot be found
|
458
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
459
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
460
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
461
|
-
----------------------------------------------------
|
462
|
-
TestsControllerTest: test_options_request_is_handled
|
463
|
-
----------------------------------------------------
|
464
|
-
Processing by TestsController#options as HTML
|
465
|
-
Rendering text template
|
466
|
-
Rendered text template (0.0ms)
|
467
|
-
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
468
|
-
Processing by TestsController#options as HTML
|
469
|
-
Rendering text template
|
470
|
-
Rendered text template (0.0ms)
|
471
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
472
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
473
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
474
|
-
-------------------------------------------------------------
|
475
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
476
|
-
-------------------------------------------------------------
|
477
|
-
Processing by TestsController#show as HTML
|
478
|
-
Parameters: {"id"=>"400"}
|
479
|
-
400 - Repia::Errors::BadRequest
|
480
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
481
|
-
Processing by TestsController#show as HTML
|
482
|
-
Parameters: {"id"=>"401"}
|
483
|
-
401 - Repia::Errors::Unauthorized
|
484
|
-
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
485
|
-
Processing by TestsController#show as HTML
|
486
|
-
Parameters: {"id"=>"404"}
|
487
|
-
404 - Repia::Errors::NotFound
|
488
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
489
|
-
Processing by TestsController#show as HTML
|
490
|
-
Parameters: {"id"=>"409"}
|
491
|
-
409 - Repia::Errors::Conflict
|
492
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
493
|
-
Processing by TestsController#show as HTML
|
494
|
-
Parameters: {"id"=>"500"}
|
495
|
-
500 - Repia::Errors::InternalServerError
|
496
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
497
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
498
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
499
|
-
------------------------------------------------
|
500
|
-
TestsControllerTest: test_render_multiple_errors
|
501
|
-
------------------------------------------------
|
502
|
-
Processing by TestsController#index as HTML
|
503
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
504
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
505
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
506
|
-
----------------------------------------------------------------------------------------
|
507
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
508
|
-
----------------------------------------------------------------------------------------
|
509
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
510
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
511
|
-
----------------------------------------------------------------------------------
|
512
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
513
|
-
----------------------------------------------------------------------------------
|
514
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fbad4123338>, "rack.errors"=>#<StringIO:0x007fbad4123810>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
515
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
516
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
517
|
-
-----------------------------------------------------------------------
|
518
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
519
|
-
-----------------------------------------------------------------------
|
520
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
521
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "4316e546-a8ee-11e6-95da-9801a78f6ec1"], ["created_at", 2016-11-12 15:39:56 UTC], ["updated_at", 2016-11-12 15:39:56 UTC]]
|
522
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
523
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
524
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
525
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
526
|
-
------------------------------------------------
|
527
|
-
TestsControllerTest: test_render_multiple_errors
|
528
|
-
------------------------------------------------
|
529
|
-
Processing by TestsController#index as HTML
|
530
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
531
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
532
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
533
|
-
----------------------------------------------------------------
|
534
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
535
|
-
----------------------------------------------------------------
|
536
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
537
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"], ["created_at", 2016-11-12 15:47:21 UTC], ["updated_at", 2016-11-12 15:47:21 UTC]]
|
538
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
539
|
-
Processing by TestsController#show as HTML
|
540
|
-
Parameters: {"id"=>"4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"}
|
541
|
-
Attempting to get UniqueModel 4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1
|
542
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "4cb95fd8-a8ef-11e6-b36d-9801a78f6ec1"], ["LIMIT", 1]]
|
543
|
-
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
544
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
545
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
546
|
-
----------------------------------------------------
|
547
|
-
TestsControllerTest: test_options_request_is_handled
|
548
|
-
----------------------------------------------------
|
549
|
-
Processing by TestsController#options as HTML
|
550
|
-
Rendering text template
|
551
|
-
Rendered text template (0.0ms)
|
552
|
-
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
|
553
|
-
Processing by TestsController#options as HTML
|
554
|
-
Rendering text template
|
555
|
-
Rendered text template (0.0ms)
|
556
|
-
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
557
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
558
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
559
|
-
-----------------------------------------------
|
560
|
-
TestsControllerTest: test_handle_standard_error
|
561
|
-
-----------------------------------------------
|
562
|
-
Processing by TestsController#index as HTML
|
563
|
-
StandardError
|
564
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
565
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
566
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
567
|
-
-------------------------------------------------------------------------
|
568
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
569
|
-
-------------------------------------------------------------------------
|
570
|
-
Processing by TestsController#show as HTML
|
571
|
-
Parameters: {"id"=>"blah"}
|
572
|
-
Attempting to get UniqueModel blah
|
573
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
574
|
-
404 - UniqueModel blah cannot be found
|
575
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
576
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
577
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
578
|
-
-------------------------------------------------------------
|
579
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
580
|
-
-------------------------------------------------------------
|
581
|
-
Processing by TestsController#show as HTML
|
582
|
-
Parameters: {"id"=>"400"}
|
583
|
-
400 - Repia::Errors::BadRequest
|
584
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
585
|
-
Processing by TestsController#show as HTML
|
586
|
-
Parameters: {"id"=>"401"}
|
587
|
-
401 - Repia::Errors::Unauthorized
|
588
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
589
|
-
Processing by TestsController#show as HTML
|
590
|
-
Parameters: {"id"=>"404"}
|
591
|
-
404 - Repia::Errors::NotFound
|
592
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
593
|
-
Processing by TestsController#show as HTML
|
594
|
-
Parameters: {"id"=>"409"}
|
595
|
-
409 - Repia::Errors::Conflict
|
596
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
597
|
-
Processing by TestsController#show as HTML
|
598
|
-
Parameters: {"id"=>"500"}
|
599
|
-
500 - Repia::Errors::InternalServerError
|
600
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
601
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
602
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
603
|
-
----------------------------------------
|
604
|
-
TestsControllerTest: test_exceptions_app
|
605
|
-
----------------------------------------
|
606
|
-
Processing by TestsController#show as HTML
|
607
|
-
Parameters: {"id"=>"blah"}
|
608
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
609
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
610
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
611
|
-
-----------------------------------------------------------------------
|
612
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
613
|
-
-----------------------------------------------------------------------
|
614
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
615
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "4cc24396-a8ef-11e6-b36d-9801a78f6ec1"], ["created_at", 2016-11-12 15:47:21 UTC], ["updated_at", 2016-11-12 15:47:21 UTC]]
|
616
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
617
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
618
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
619
|
-
----------------------------------------------------------------------------------------
|
620
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
621
|
-
----------------------------------------------------------------------------------------
|
622
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
623
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
624
|
-
----------------------------------------------------------------------------------
|
625
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
626
|
-
----------------------------------------------------------------------------------
|
627
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007ffdeaaeb628>, "rack.errors"=>#<StringIO:0x007ffdeaaeb790>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
628
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
629
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
630
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
631
|
-
----------------------------------------------------------------------------------
|
632
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
633
|
-
----------------------------------------------------------------------------------
|
634
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc642c53928>, "rack.errors"=>#<StringIO:0x007fc642c539a0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
635
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
636
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
637
|
-
----------------------------------------------------------------------------------------
|
638
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
639
|
-
----------------------------------------------------------------------------------------
|
640
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
641
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
642
|
-
----------------------------------------------------------------
|
643
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
644
|
-
----------------------------------------------------------------
|
645
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
646
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "3978a608-a8f0-11e6-a658-9801a78f6ec1"], ["created_at", 2016-11-12 15:53:59 UTC], ["updated_at", 2016-11-12 15:53:59 UTC]]
|
647
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
648
|
-
Processing by TestsController#show as HTML
|
649
|
-
Parameters: {"id"=>"3978a608-a8f0-11e6-a658-9801a78f6ec1"}
|
650
|
-
Attempting to get UniqueModel 3978a608-a8f0-11e6-a658-9801a78f6ec1
|
651
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "3978a608-a8f0-11e6-a658-9801a78f6ec1"], ["LIMIT", 1]]
|
652
|
-
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
653
|
-
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
654
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
655
|
-
-----------------------------------------------
|
656
|
-
TestsControllerTest: test_handle_standard_error
|
657
|
-
-----------------------------------------------
|
658
|
-
Processing by TestsController#index as HTML
|
659
|
-
StandardError
|
660
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
661
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
662
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
663
|
-
------------------------------------------------
|
664
|
-
TestsControllerTest: test_render_multiple_errors
|
665
|
-
------------------------------------------------
|
666
|
-
Processing by TestsController#index as HTML
|
667
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
668
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
669
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
670
|
-
-------------------------------------------------------------
|
671
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
672
|
-
-------------------------------------------------------------
|
673
|
-
Processing by TestsController#show as HTML
|
674
|
-
Parameters: {"id"=>"400"}
|
675
|
-
400 - Repia::Errors::BadRequest
|
676
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
677
|
-
Processing by TestsController#show as HTML
|
678
|
-
Parameters: {"id"=>"401"}
|
679
|
-
401 - Repia::Errors::Unauthorized
|
680
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
681
|
-
Processing by TestsController#show as HTML
|
682
|
-
Parameters: {"id"=>"404"}
|
683
|
-
404 - Repia::Errors::NotFound
|
684
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
685
|
-
Processing by TestsController#show as HTML
|
686
|
-
Parameters: {"id"=>"409"}
|
687
|
-
409 - Repia::Errors::Conflict
|
688
|
-
Completed 409 Conflict in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
689
|
-
Processing by TestsController#show as HTML
|
690
|
-
Parameters: {"id"=>"500"}
|
691
|
-
500 - Repia::Errors::InternalServerError
|
692
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
693
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
694
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
695
|
-
----------------------------------------------------
|
696
|
-
TestsControllerTest: test_options_request_is_handled
|
697
|
-
----------------------------------------------------
|
698
|
-
Processing by TestsController#options as HTML
|
699
|
-
Rendering text template
|
700
|
-
Rendered text template (0.0ms)
|
701
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
702
|
-
Processing by TestsController#options as HTML
|
703
|
-
Rendering text template
|
704
|
-
Rendered text template (0.0ms)
|
705
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
706
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
707
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
708
|
-
-------------------------------------------------------------------------
|
709
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
710
|
-
-------------------------------------------------------------------------
|
711
|
-
Processing by TestsController#show as HTML
|
712
|
-
Parameters: {"id"=>"blah"}
|
713
|
-
Attempting to get UniqueModel blah
|
714
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
715
|
-
404 - UniqueModel blah cannot be found
|
716
|
-
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
717
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
718
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
719
|
-
----------------------------------------
|
720
|
-
TestsControllerTest: test_exceptions_app
|
721
|
-
----------------------------------------
|
722
|
-
Processing by TestsController#show as HTML
|
723
|
-
Parameters: {"id"=>"blah"}
|
724
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
725
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
726
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
727
|
-
-----------------------------------------------------------------------
|
728
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
729
|
-
-----------------------------------------------------------------------
|
730
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
731
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "39815ac8-a8f0-11e6-a658-9801a78f6ec1"], ["created_at", 2016-11-12 15:53:59 UTC], ["updated_at", 2016-11-12 15:53:59 UTC]]
|
732
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
733
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
734
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
735
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
-
-----------------------------------------------------------------------
|
737
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
738
|
-
-----------------------------------------------------------------------
|
739
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
740
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "4028f16a-a8f0-11e6-a826-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:10 UTC], ["updated_at", 2016-11-12 15:54:10 UTC]]
|
741
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
742
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
743
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
744
|
-
----------------------------------------------------------------------------------------
|
745
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
746
|
-
----------------------------------------------------------------------------------------
|
747
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
748
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
----------------------------------------------------------------------------------
|
750
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
751
|
-
----------------------------------------------------------------------------------
|
752
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fbadeeac838>, "rack.errors"=>#<StringIO:0x007fbadeeac900>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
753
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
754
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
755
|
-
----------------------------------------------------
|
756
|
-
TestsControllerTest: test_options_request_is_handled
|
757
|
-
----------------------------------------------------
|
758
|
-
Processing by TestsController#options as HTML
|
759
|
-
Rendering text template
|
760
|
-
Rendered text template (0.0ms)
|
761
|
-
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
762
|
-
Processing by TestsController#options as HTML
|
763
|
-
Rendering text template
|
764
|
-
Rendered text template (0.0ms)
|
765
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
766
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
767
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
768
|
-
----------------------------------------
|
769
|
-
TestsControllerTest: test_exceptions_app
|
770
|
-
----------------------------------------
|
771
|
-
Processing by TestsController#show as HTML
|
772
|
-
Parameters: {"id"=>"blah"}
|
773
|
-
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
774
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
775
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
776
|
-
------------------------------------------------
|
777
|
-
TestsControllerTest: test_render_multiple_errors
|
778
|
-
------------------------------------------------
|
779
|
-
Processing by TestsController#index as HTML
|
780
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
781
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
782
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
783
|
-
-------------------------------------------------------------
|
784
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
785
|
-
-------------------------------------------------------------
|
786
|
-
Processing by TestsController#show as HTML
|
787
|
-
Parameters: {"id"=>"400"}
|
788
|
-
400 - Repia::Errors::BadRequest
|
789
|
-
Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
790
|
-
Processing by TestsController#show as HTML
|
791
|
-
Parameters: {"id"=>"401"}
|
792
|
-
401 - Repia::Errors::Unauthorized
|
793
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
794
|
-
Processing by TestsController#show as HTML
|
795
|
-
Parameters: {"id"=>"404"}
|
796
|
-
404 - Repia::Errors::NotFound
|
797
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
798
|
-
Processing by TestsController#show as HTML
|
799
|
-
Parameters: {"id"=>"409"}
|
800
|
-
409 - Repia::Errors::Conflict
|
801
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
802
|
-
Processing by TestsController#show as HTML
|
803
|
-
Parameters: {"id"=>"500"}
|
804
|
-
500 - Repia::Errors::InternalServerError
|
805
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
806
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
807
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
808
|
-
-----------------------------------------------
|
809
|
-
TestsControllerTest: test_handle_standard_error
|
810
|
-
-----------------------------------------------
|
811
|
-
Processing by TestsController#index as HTML
|
812
|
-
StandardError
|
813
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
814
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
815
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
816
|
-
----------------------------------------------------------------
|
817
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
818
|
-
----------------------------------------------------------------
|
819
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
820
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "403094ba-a8f0-11e6-a826-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:10 UTC], ["updated_at", 2016-11-12 15:54:10 UTC]]
|
821
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
822
|
-
Processing by TestsController#show as HTML
|
823
|
-
Parameters: {"id"=>"403094ba-a8f0-11e6-a826-9801a78f6ec1"}
|
824
|
-
Attempting to get UniqueModel 403094ba-a8f0-11e6-a826-9801a78f6ec1
|
825
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "403094ba-a8f0-11e6-a826-9801a78f6ec1"], ["LIMIT", 1]]
|
826
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
827
|
-
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
828
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
829
|
-
-------------------------------------------------------------------------
|
830
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
831
|
-
-------------------------------------------------------------------------
|
832
|
-
Processing by TestsController#show as HTML
|
833
|
-
Parameters: {"id"=>"blah"}
|
834
|
-
Attempting to get UniqueModel blah
|
835
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
836
|
-
404 - UniqueModel blah cannot be found
|
837
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
838
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
839
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
840
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
841
|
-
----------------------------------------------------------------------------------
|
842
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
843
|
-
----------------------------------------------------------------------------------
|
844
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007f9fd99f6c50>, "rack.errors"=>#<StringIO:0x007f9fd99f6cc8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
845
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
846
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
847
|
-
----------------------------------------------------------------------------------------
|
848
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
849
|
-
----------------------------------------------------------------------------------------
|
850
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
851
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
852
|
-
------------------------------------------------
|
853
|
-
TestsControllerTest: test_render_multiple_errors
|
854
|
-
------------------------------------------------
|
855
|
-
Processing by TestsController#index as HTML
|
856
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
857
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
858
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
859
|
-
-------------------------------------------------------------------------
|
860
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
861
|
-
-------------------------------------------------------------------------
|
862
|
-
Processing by TestsController#show as HTML
|
863
|
-
Parameters: {"id"=>"blah"}
|
864
|
-
Attempting to get UniqueModel blah
|
865
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
866
|
-
404 - UniqueModel blah cannot be found
|
867
|
-
Completed 404 Not Found in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
868
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
869
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
870
|
-
----------------------------------------------------
|
871
|
-
TestsControllerTest: test_options_request_is_handled
|
872
|
-
----------------------------------------------------
|
873
|
-
Processing by TestsController#options as HTML
|
874
|
-
Rendering text template
|
875
|
-
Rendered text template (0.0ms)
|
876
|
-
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
877
|
-
Processing by TestsController#options as HTML
|
878
|
-
Rendering text template
|
879
|
-
Rendered text template (0.0ms)
|
880
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
881
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
882
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
883
|
-
-------------------------------------------------------------
|
884
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
885
|
-
-------------------------------------------------------------
|
886
|
-
Processing by TestsController#show as HTML
|
887
|
-
Parameters: {"id"=>"400"}
|
888
|
-
400 - Repia::Errors::BadRequest
|
889
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
890
|
-
Processing by TestsController#show as HTML
|
891
|
-
Parameters: {"id"=>"401"}
|
892
|
-
401 - Repia::Errors::Unauthorized
|
893
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
894
|
-
Processing by TestsController#show as HTML
|
895
|
-
Parameters: {"id"=>"404"}
|
896
|
-
404 - Repia::Errors::NotFound
|
897
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
898
|
-
Processing by TestsController#show as HTML
|
899
|
-
Parameters: {"id"=>"409"}
|
900
|
-
409 - Repia::Errors::Conflict
|
901
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
902
|
-
Processing by TestsController#show as HTML
|
903
|
-
Parameters: {"id"=>"500"}
|
904
|
-
500 - Repia::Errors::InternalServerError
|
905
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
906
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
907
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
908
|
-
----------------------------------------------------------------
|
909
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
910
|
-
----------------------------------------------------------------
|
911
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
912
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "55b31cb8-a8f0-11e6-8320-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:46 UTC], ["updated_at", 2016-11-12 15:54:46 UTC]]
|
913
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
914
|
-
Processing by TestsController#show as HTML
|
915
|
-
Parameters: {"id"=>"55b31cb8-a8f0-11e6-8320-9801a78f6ec1"}
|
916
|
-
Attempting to get UniqueModel 55b31cb8-a8f0-11e6-8320-9801a78f6ec1
|
917
|
-
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "55b31cb8-a8f0-11e6-8320-9801a78f6ec1"], ["LIMIT", 1]]
|
918
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
919
|
-
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
920
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
921
|
-
----------------------------------------
|
922
|
-
TestsControllerTest: test_exceptions_app
|
923
|
-
----------------------------------------
|
924
|
-
Processing by TestsController#show as HTML
|
925
|
-
Parameters: {"id"=>"blah"}
|
926
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
927
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
928
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
929
|
-
-----------------------------------------------
|
930
|
-
TestsControllerTest: test_handle_standard_error
|
931
|
-
-----------------------------------------------
|
932
|
-
Processing by TestsController#index as HTML
|
933
|
-
StandardError
|
934
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
935
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
936
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
937
|
-
-----------------------------------------------------------------------
|
938
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
939
|
-
-----------------------------------------------------------------------
|
940
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "55b75206-a8f0-11e6-8320-9801a78f6ec1"], ["created_at", 2016-11-12 15:54:46 UTC], ["updated_at", 2016-11-12 15:54:46 UTC]]
|
942
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
943
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
944
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
945
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
946
|
-
----------------------------------------
|
947
|
-
TestsControllerTest: test_exceptions_app
|
948
|
-
----------------------------------------
|
949
|
-
Processing by TestsController#show as HTML
|
950
|
-
Parameters: {"id"=>"blah"}
|
951
|
-
Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
952
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
953
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
954
|
-
-------------------------------------------------------------------------
|
955
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
956
|
-
-------------------------------------------------------------------------
|
957
|
-
Processing by TestsController#show as HTML
|
958
|
-
Parameters: {"id"=>"blah"}
|
959
|
-
Attempting to get UniqueModel blah
|
960
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
961
|
-
404 - UniqueModel blah cannot be found
|
962
|
-
Completed 404 Not Found in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
963
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
964
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
965
|
-
------------------------------------------------
|
966
|
-
TestsControllerTest: test_render_multiple_errors
|
967
|
-
------------------------------------------------
|
968
|
-
Processing by TestsController#index as HTML
|
969
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
970
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
971
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
972
|
-
----------------------------------------------------------------
|
973
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
974
|
-
----------------------------------------------------------------
|
975
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
976
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:02 UTC], ["updated_at", 2016-11-12 15:55:02 UTC]]
|
977
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
978
|
-
Processing by TestsController#show as HTML
|
979
|
-
Parameters: {"id"=>"5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"}
|
980
|
-
Attempting to get UniqueModel 5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1
|
981
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "5f4fdc7a-a8f0-11e6-a16d-9801a78f6ec1"], ["LIMIT", 1]]
|
982
|
-
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
983
|
-
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
984
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
985
|
-
-------------------------------------------------------------
|
986
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
987
|
-
-------------------------------------------------------------
|
988
|
-
Processing by TestsController#show as HTML
|
989
|
-
Parameters: {"id"=>"400"}
|
990
|
-
400 - Repia::Errors::BadRequest
|
991
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
992
|
-
Processing by TestsController#show as HTML
|
993
|
-
Parameters: {"id"=>"401"}
|
994
|
-
401 - Repia::Errors::Unauthorized
|
995
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
996
|
-
Processing by TestsController#show as HTML
|
997
|
-
Parameters: {"id"=>"404"}
|
998
|
-
404 - Repia::Errors::NotFound
|
999
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1000
|
-
Processing by TestsController#show as HTML
|
1001
|
-
Parameters: {"id"=>"409"}
|
1002
|
-
409 - Repia::Errors::Conflict
|
1003
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1004
|
-
Processing by TestsController#show as HTML
|
1005
|
-
Parameters: {"id"=>"500"}
|
1006
|
-
500 - Repia::Errors::InternalServerError
|
1007
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1008
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1009
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1010
|
-
----------------------------------------------------
|
1011
|
-
TestsControllerTest: test_options_request_is_handled
|
1012
|
-
----------------------------------------------------
|
1013
|
-
Processing by TestsController#options as HTML
|
1014
|
-
Rendering text template
|
1015
|
-
Rendered text template (0.0ms)
|
1016
|
-
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
1017
|
-
Processing by TestsController#options as HTML
|
1018
|
-
Rendering text template
|
1019
|
-
Rendered text template (0.0ms)
|
1020
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1021
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1022
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1023
|
-
-----------------------------------------------
|
1024
|
-
TestsControllerTest: test_handle_standard_error
|
1025
|
-
-----------------------------------------------
|
1026
|
-
Processing by TestsController#index as HTML
|
1027
|
-
StandardError
|
1028
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1029
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1030
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1031
|
-
-----------------------------------------------------------------------
|
1032
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1033
|
-
-----------------------------------------------------------------------
|
1034
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1035
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "5f5582ec-a8f0-11e6-a16d-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:02 UTC], ["updated_at", 2016-11-12 15:55:02 UTC]]
|
1036
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1037
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1038
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1039
|
-
----------------------------------------------------------------------------------------
|
1040
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1041
|
-
----------------------------------------------------------------------------------------
|
1042
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1043
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1044
|
-
----------------------------------------------------------------------------------
|
1045
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1046
|
-
----------------------------------------------------------------------------------
|
1047
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fc8192529a0>, "rack.errors"=>#<StringIO:0x007fc819252a40>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1048
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1049
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1050
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1051
|
-
-----------------------------------------------------------------------
|
1052
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1053
|
-
-----------------------------------------------------------------------
|
1054
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1055
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "6b3aeac0-a8f0-11e6-adac-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:22 UTC], ["updated_at", 2016-11-12 15:55:22 UTC]]
|
1056
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1057
|
-
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
1058
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1059
|
-
----------------------------------------
|
1060
|
-
TestsControllerTest: test_exceptions_app
|
1061
|
-
----------------------------------------
|
1062
|
-
Processing by TestsController#show as HTML
|
1063
|
-
Parameters: {"id"=>"blah"}
|
1064
|
-
Completed 404 Not Found in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1065
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1066
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1067
|
-
-----------------------------------------------
|
1068
|
-
TestsControllerTest: test_handle_standard_error
|
1069
|
-
-----------------------------------------------
|
1070
|
-
Processing by TestsController#index as HTML
|
1071
|
-
StandardError
|
1072
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1073
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1074
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1075
|
-
----------------------------------------------------
|
1076
|
-
TestsControllerTest: test_options_request_is_handled
|
1077
|
-
----------------------------------------------------
|
1078
|
-
Processing by TestsController#options as HTML
|
1079
|
-
Rendering text template
|
1080
|
-
Rendered text template (0.0ms)
|
1081
|
-
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
1082
|
-
Processing by TestsController#options as HTML
|
1083
|
-
Rendering text template
|
1084
|
-
Rendered text template (0.0ms)
|
1085
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1086
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1087
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1088
|
-
------------------------------------------------
|
1089
|
-
TestsControllerTest: test_render_multiple_errors
|
1090
|
-
------------------------------------------------
|
1091
|
-
Processing by TestsController#index as HTML
|
1092
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1093
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1094
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1095
|
-
-------------------------------------------------------------
|
1096
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1097
|
-
-------------------------------------------------------------
|
1098
|
-
Processing by TestsController#show as HTML
|
1099
|
-
Parameters: {"id"=>"400"}
|
1100
|
-
400 - Repia::Errors::BadRequest
|
1101
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1102
|
-
Processing by TestsController#show as HTML
|
1103
|
-
Parameters: {"id"=>"401"}
|
1104
|
-
401 - Repia::Errors::Unauthorized
|
1105
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1106
|
-
Processing by TestsController#show as HTML
|
1107
|
-
Parameters: {"id"=>"404"}
|
1108
|
-
404 - Repia::Errors::NotFound
|
1109
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1110
|
-
Processing by TestsController#show as HTML
|
1111
|
-
Parameters: {"id"=>"409"}
|
1112
|
-
409 - Repia::Errors::Conflict
|
1113
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1114
|
-
Processing by TestsController#show as HTML
|
1115
|
-
Parameters: {"id"=>"500"}
|
1116
|
-
500 - Repia::Errors::InternalServerError
|
1117
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1118
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1119
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1120
|
-
-------------------------------------------------------------------------
|
1121
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1122
|
-
-------------------------------------------------------------------------
|
1123
|
-
Processing by TestsController#show as HTML
|
1124
|
-
Parameters: {"id"=>"blah"}
|
1125
|
-
Attempting to get UniqueModel blah
|
1126
|
-
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1127
|
-
404 - UniqueModel blah cannot be found
|
1128
|
-
Completed 404 Not Found in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1129
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1130
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1131
|
-
----------------------------------------------------------------
|
1132
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1133
|
-
----------------------------------------------------------------
|
1134
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1135
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "6b431cea-a8f0-11e6-adac-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:22 UTC], ["updated_at", 2016-11-12 15:55:22 UTC]]
|
1136
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1137
|
-
Processing by TestsController#show as HTML
|
1138
|
-
Parameters: {"id"=>"6b431cea-a8f0-11e6-adac-9801a78f6ec1"}
|
1139
|
-
Attempting to get UniqueModel 6b431cea-a8f0-11e6-adac-9801a78f6ec1
|
1140
|
-
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "6b431cea-a8f0-11e6-adac-9801a78f6ec1"], ["LIMIT", 1]]
|
1141
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1142
|
-
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
1143
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1144
|
-
----------------------------------------------------------------------------------------
|
1145
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1146
|
-
----------------------------------------------------------------------------------------
|
1147
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1148
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1149
|
-
----------------------------------------------------------------------------------
|
1150
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1151
|
-
----------------------------------------------------------------------------------
|
1152
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fa515d61b60>, "rack.errors"=>#<StringIO:0x007fa515d61bd8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1153
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1154
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1155
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1156
|
-
-----------------------------------------------------------------------
|
1157
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1158
|
-
-----------------------------------------------------------------------
|
1159
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1160
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "75d770ac-a8f0-11e6-a569-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:40 UTC], ["updated_at", 2016-11-12 15:55:40 UTC]]
|
1161
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1162
|
-
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
1163
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1164
|
-
----------------------------------------------------------------------------------
|
1165
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1166
|
-
----------------------------------------------------------------------------------
|
1167
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fd7a3d8beb8>, "rack.errors"=>#<StringIO:0x007fd7a3d92f60>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1168
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1169
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1170
|
-
----------------------------------------------------------------------------------------
|
1171
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1172
|
-
----------------------------------------------------------------------------------------
|
1173
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1174
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1175
|
-
-----------------------------------------------
|
1176
|
-
TestsControllerTest: test_handle_standard_error
|
1177
|
-
-----------------------------------------------
|
1178
|
-
Processing by TestsController#index as HTML
|
1179
|
-
StandardError
|
1180
|
-
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1181
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1182
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
|
-
-------------------------------------------------------------------------
|
1184
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1185
|
-
-------------------------------------------------------------------------
|
1186
|
-
Processing by TestsController#show as HTML
|
1187
|
-
Parameters: {"id"=>"blah"}
|
1188
|
-
Attempting to get UniqueModel blah
|
1189
|
-
[1m[36mUniqueModel Load (0.2ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1190
|
-
404 - UniqueModel blah cannot be found
|
1191
|
-
Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1192
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1193
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1194
|
-
----------------------------------------------------------------
|
1195
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1196
|
-
----------------------------------------------------------------
|
1197
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1198
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "75dd4e46-a8f0-11e6-a569-9801a78f6ec1"], ["created_at", 2016-11-12 15:55:40 UTC], ["updated_at", 2016-11-12 15:55:40 UTC]]
|
1199
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1200
|
-
Processing by TestsController#show as HTML
|
1201
|
-
Parameters: {"id"=>"75dd4e46-a8f0-11e6-a569-9801a78f6ec1"}
|
1202
|
-
Attempting to get UniqueModel 75dd4e46-a8f0-11e6-a569-9801a78f6ec1
|
1203
|
-
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "75dd4e46-a8f0-11e6-a569-9801a78f6ec1"], ["LIMIT", 1]]
|
1204
|
-
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1205
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1206
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1207
|
-
-------------------------------------------------------------
|
1208
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1209
|
-
-------------------------------------------------------------
|
1210
|
-
Processing by TestsController#show as HTML
|
1211
|
-
Parameters: {"id"=>"400"}
|
1212
|
-
400 - Repia::Errors::BadRequest
|
1213
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1214
|
-
Processing by TestsController#show as HTML
|
1215
|
-
Parameters: {"id"=>"401"}
|
1216
|
-
401 - Repia::Errors::Unauthorized
|
1217
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1218
|
-
Processing by TestsController#show as HTML
|
1219
|
-
Parameters: {"id"=>"404"}
|
1220
|
-
404 - Repia::Errors::NotFound
|
1221
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1222
|
-
Processing by TestsController#show as HTML
|
1223
|
-
Parameters: {"id"=>"409"}
|
1224
|
-
409 - Repia::Errors::Conflict
|
1225
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1226
|
-
Processing by TestsController#show as HTML
|
1227
|
-
Parameters: {"id"=>"500"}
|
1228
|
-
500 - Repia::Errors::InternalServerError
|
1229
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1230
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1231
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1232
|
-
----------------------------------------------------
|
1233
|
-
TestsControllerTest: test_options_request_is_handled
|
1234
|
-
----------------------------------------------------
|
1235
|
-
Processing by TestsController#options as HTML
|
1236
|
-
Rendering text template
|
1237
|
-
Rendered text template (0.0ms)
|
1238
|
-
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
1239
|
-
Processing by TestsController#options as HTML
|
1240
|
-
Rendering text template
|
1241
|
-
Rendered text template (0.0ms)
|
1242
|
-
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1243
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1244
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1245
|
-
----------------------------------------
|
1246
|
-
TestsControllerTest: test_exceptions_app
|
1247
|
-
----------------------------------------
|
1248
|
-
Processing by TestsController#show as HTML
|
1249
|
-
Parameters: {"id"=>"blah"}
|
1250
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1251
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1252
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1253
|
-
------------------------------------------------
|
1254
|
-
TestsControllerTest: test_render_multiple_errors
|
1255
|
-
------------------------------------------------
|
1256
|
-
Processing by TestsController#index as HTML
|
1257
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1258
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1259
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1260
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1261
|
-
----------------------------------------------------------------------------------------
|
1262
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1263
|
-
----------------------------------------------------------------------------------------
|
1264
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1265
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1266
|
-
----------------------------------------------------------------------------------
|
1267
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1268
|
-
----------------------------------------------------------------------------------
|
1269
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fa04ad36570>, "rack.errors"=>#<StringIO:0x007fa04ad366b0>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1270
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1271
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1272
|
-
-------------------------------------------------------------------------
|
1273
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1274
|
-
-------------------------------------------------------------------------
|
1275
|
-
Processing by TestsController#show as HTML
|
1276
|
-
Parameters: {"id"=>"blah"}
|
1277
|
-
Attempting to get UniqueModel blah
|
1278
|
-
[1m[36mUniqueModel Load (0.3ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1279
|
-
404 - UniqueModel blah cannot be found
|
1280
|
-
Completed 404 Not Found in 7ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
1281
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1282
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1283
|
-
-----------------------------------------------
|
1284
|
-
TestsControllerTest: test_handle_standard_error
|
1285
|
-
-----------------------------------------------
|
1286
|
-
Processing by TestsController#index as HTML
|
1287
|
-
StandardError
|
1288
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1289
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1290
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1291
|
-
----------------------------------------------------
|
1292
|
-
TestsControllerTest: test_options_request_is_handled
|
1293
|
-
----------------------------------------------------
|
1294
|
-
Processing by TestsController#options as HTML
|
1295
|
-
Rendering text template
|
1296
|
-
Rendered text template (0.0ms)
|
1297
|
-
Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
1298
|
-
Processing by TestsController#options as HTML
|
1299
|
-
Rendering text template
|
1300
|
-
Rendered text template (0.0ms)
|
1301
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1302
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1303
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1304
|
-
----------------------------------------
|
1305
|
-
TestsControllerTest: test_exceptions_app
|
1306
|
-
----------------------------------------
|
1307
|
-
Processing by TestsController#show as HTML
|
1308
|
-
Parameters: {"id"=>"blah"}
|
1309
|
-
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1310
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1311
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1312
|
-
----------------------------------------------------------------
|
1313
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1314
|
-
----------------------------------------------------------------
|
1315
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1316
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"], ["created_at", 2016-11-19 03:11:05 UTC], ["updated_at", 2016-11-19 03:11:05 UTC]]
|
1317
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1318
|
-
Processing by TestsController#show as HTML
|
1319
|
-
Parameters: {"id"=>"cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"}
|
1320
|
-
Attempting to get UniqueModel cf10b15a-ae05-11e6-bfcc-9801a78f6ec1
|
1321
|
-
[1m[36mUniqueModel Load (0.0ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "cf10b15a-ae05-11e6-bfcc-9801a78f6ec1"], ["LIMIT", 1]]
|
1322
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1323
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1324
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1325
|
-
-------------------------------------------------------------
|
1326
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1327
|
-
-------------------------------------------------------------
|
1328
|
-
Processing by TestsController#show as HTML
|
1329
|
-
Parameters: {"id"=>"400"}
|
1330
|
-
400 - Repia::Errors::BadRequest
|
1331
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1332
|
-
Processing by TestsController#show as HTML
|
1333
|
-
Parameters: {"id"=>"401"}
|
1334
|
-
401 - Repia::Errors::Unauthorized
|
1335
|
-
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1336
|
-
Processing by TestsController#show as HTML
|
1337
|
-
Parameters: {"id"=>"404"}
|
1338
|
-
404 - Repia::Errors::NotFound
|
1339
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1340
|
-
Processing by TestsController#show as HTML
|
1341
|
-
Parameters: {"id"=>"409"}
|
1342
|
-
409 - Repia::Errors::Conflict
|
1343
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1344
|
-
Processing by TestsController#show as HTML
|
1345
|
-
Parameters: {"id"=>"500"}
|
1346
|
-
500 - Repia::Errors::InternalServerError
|
1347
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1348
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1349
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1350
|
-
------------------------------------------------
|
1351
|
-
TestsControllerTest: test_render_multiple_errors
|
1352
|
-
------------------------------------------------
|
1353
|
-
Processing by TestsController#index as HTML
|
1354
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1355
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1356
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1357
|
-
-----------------------------------------------------------------------
|
1358
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1359
|
-
-----------------------------------------------------------------------
|
1360
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1361
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "cf163fda-ae05-11e6-bfcc-9801a78f6ec1"], ["created_at", 2016-11-19 03:11:05 UTC], ["updated_at", 2016-11-19 03:11:05 UTC]]
|
1362
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1363
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1364
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1365
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1366
|
-
----------------------------------------------------------------------------------------
|
1367
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1368
|
-
----------------------------------------------------------------------------------------
|
1369
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1370
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1371
|
-
----------------------------------------------------------------------------------
|
1372
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1373
|
-
----------------------------------------------------------------------------------
|
1374
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fb19a4402c0>, "rack.errors"=>#<StringIO:0x007fb19a440338>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1375
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1376
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1377
|
-
-----------------------------------------------------------------------
|
1378
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1379
|
-
-----------------------------------------------------------------------
|
1380
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1381
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "e6b85fc2-ae70-11e6-8dbb-9801a78f6ec1"], ["created_at", 2016-11-19 15:57:41 UTC], ["updated_at", 2016-11-19 15:57:41 UTC]]
|
1382
|
-
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1383
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1384
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1385
|
-
----------------------------------------------------------------
|
1386
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1387
|
-
----------------------------------------------------------------
|
1388
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1389
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"], ["created_at", 2016-11-19 15:57:41 UTC], ["updated_at", 2016-11-19 15:57:41 UTC]]
|
1390
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1391
|
-
Processing by TestsController#show as HTML
|
1392
|
-
Parameters: {"id"=>"e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"}
|
1393
|
-
Attempting to get UniqueModel e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1
|
1394
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "e6bcdc00-ae70-11e6-8dbb-9801a78f6ec1"], ["LIMIT", 1]]
|
1395
|
-
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1396
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1397
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1398
|
-
-------------------------------------------------------------
|
1399
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1400
|
-
-------------------------------------------------------------
|
1401
|
-
Processing by TestsController#show as HTML
|
1402
|
-
Parameters: {"id"=>"400"}
|
1403
|
-
400 - Repia::Errors::BadRequest
|
1404
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1405
|
-
Processing by TestsController#show as HTML
|
1406
|
-
Parameters: {"id"=>"401"}
|
1407
|
-
401 - Repia::Errors::Unauthorized
|
1408
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1409
|
-
Processing by TestsController#show as HTML
|
1410
|
-
Parameters: {"id"=>"404"}
|
1411
|
-
404 - Repia::Errors::NotFound
|
1412
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1413
|
-
Processing by TestsController#show as HTML
|
1414
|
-
Parameters: {"id"=>"409"}
|
1415
|
-
409 - Repia::Errors::Conflict
|
1416
|
-
Completed 409 Conflict in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1417
|
-
Processing by TestsController#show as HTML
|
1418
|
-
Parameters: {"id"=>"500"}
|
1419
|
-
500 - Repia::Errors::InternalServerError
|
1420
|
-
Completed 500 Internal Server Error in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1421
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1422
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1423
|
-
----------------------------------------------------
|
1424
|
-
TestsControllerTest: test_options_request_is_handled
|
1425
|
-
----------------------------------------------------
|
1426
|
-
Processing by TestsController#options as HTML
|
1427
|
-
Rendering text template
|
1428
|
-
Rendered text template (0.0ms)
|
1429
|
-
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
1430
|
-
Processing by TestsController#options as HTML
|
1431
|
-
Rendering text template
|
1432
|
-
Rendered text template (0.0ms)
|
1433
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1434
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1435
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1436
|
-
------------------------------------------------
|
1437
|
-
TestsControllerTest: test_render_multiple_errors
|
1438
|
-
------------------------------------------------
|
1439
|
-
Processing by TestsController#index as HTML
|
1440
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1441
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1442
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1443
|
-
----------------------------------------
|
1444
|
-
TestsControllerTest: test_exceptions_app
|
1445
|
-
----------------------------------------
|
1446
|
-
Processing by TestsController#show as HTML
|
1447
|
-
Parameters: {"id"=>"blah"}
|
1448
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1449
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1450
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1451
|
-
-------------------------------------------------------------------------
|
1452
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1453
|
-
-------------------------------------------------------------------------
|
1454
|
-
Processing by TestsController#show as HTML
|
1455
|
-
Parameters: {"id"=>"blah"}
|
1456
|
-
Attempting to get UniqueModel blah
|
1457
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1458
|
-
404 - UniqueModel blah cannot be found
|
1459
|
-
Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1460
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1461
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1462
|
-
-----------------------------------------------
|
1463
|
-
TestsControllerTest: test_handle_standard_error
|
1464
|
-
-----------------------------------------------
|
1465
|
-
Processing by TestsController#index as HTML
|
1466
|
-
StandardError
|
1467
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1468
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1469
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1470
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1471
|
-
----------------------------------------------------------------
|
1472
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1473
|
-
----------------------------------------------------------------
|
1474
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1475
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"], ["created_at", 2016-11-19 16:08:40 UTC], ["updated_at", 2016-11-19 16:08:40 UTC]]
|
1476
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1477
|
-
Processing by TestsController#show as HTML
|
1478
|
-
Parameters: {"id"=>"6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"}
|
1479
|
-
Attempting to get UniqueModel 6f8fae8a-ae72-11e6-81f2-9801a78f6ec1
|
1480
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "6f8fae8a-ae72-11e6-81f2-9801a78f6ec1"], ["LIMIT", 1]]
|
1481
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1482
|
-
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
1483
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1484
|
-
----------------------------------------------------
|
1485
|
-
TestsControllerTest: test_options_request_is_handled
|
1486
|
-
----------------------------------------------------
|
1487
|
-
Processing by TestsController#options as HTML
|
1488
|
-
Rendering text template
|
1489
|
-
Rendered text template (0.0ms)
|
1490
|
-
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
1491
|
-
Processing by TestsController#options as HTML
|
1492
|
-
Rendering text template
|
1493
|
-
Rendered text template (0.0ms)
|
1494
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1495
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1496
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1497
|
-
------------------------------------------------
|
1498
|
-
TestsControllerTest: test_render_multiple_errors
|
1499
|
-
------------------------------------------------
|
1500
|
-
Processing by TestsController#index as HTML
|
1501
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1502
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1503
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
|
-
----------------------------------------
|
1505
|
-
TestsControllerTest: test_exceptions_app
|
1506
|
-
----------------------------------------
|
1507
|
-
Processing by TestsController#show as HTML
|
1508
|
-
Parameters: {"id"=>"blah"}
|
1509
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1510
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1511
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1512
|
-
-------------------------------------------------------------------------
|
1513
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1514
|
-
-------------------------------------------------------------------------
|
1515
|
-
Processing by TestsController#show as HTML
|
1516
|
-
Parameters: {"id"=>"blah"}
|
1517
|
-
Attempting to get UniqueModel blah
|
1518
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1519
|
-
404 - UniqueModel blah cannot be found
|
1520
|
-
Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1521
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1522
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1523
|
-
-------------------------------------------------------------
|
1524
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1525
|
-
-------------------------------------------------------------
|
1526
|
-
Processing by TestsController#show as HTML
|
1527
|
-
Parameters: {"id"=>"400"}
|
1528
|
-
400 - Repia::Errors::BadRequest
|
1529
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1530
|
-
Processing by TestsController#show as HTML
|
1531
|
-
Parameters: {"id"=>"401"}
|
1532
|
-
401 - Repia::Errors::Unauthorized
|
1533
|
-
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1534
|
-
Processing by TestsController#show as HTML
|
1535
|
-
Parameters: {"id"=>"404"}
|
1536
|
-
404 - Repia::Errors::NotFound
|
1537
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1538
|
-
Processing by TestsController#show as HTML
|
1539
|
-
Parameters: {"id"=>"409"}
|
1540
|
-
409 - Repia::Errors::Conflict
|
1541
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1542
|
-
Processing by TestsController#show as HTML
|
1543
|
-
Parameters: {"id"=>"500"}
|
1544
|
-
500 - Repia::Errors::InternalServerError
|
1545
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1546
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1547
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1548
|
-
-----------------------------------------------
|
1549
|
-
TestsControllerTest: test_handle_standard_error
|
1550
|
-
-----------------------------------------------
|
1551
|
-
Processing by TestsController#index as HTML
|
1552
|
-
StandardError
|
1553
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1554
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1555
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1556
|
-
-----------------------------------------------------------------------
|
1557
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1558
|
-
-----------------------------------------------------------------------
|
1559
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1560
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "6f986ade-ae72-11e6-81f2-9801a78f6ec1"], ["created_at", 2016-11-19 16:08:40 UTC], ["updated_at", 2016-11-19 16:08:40 UTC]]
|
1561
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1562
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1563
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1564
|
-
----------------------------------------------------------------------------------------
|
1565
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1566
|
-
----------------------------------------------------------------------------------------
|
1567
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1568
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1569
|
-
----------------------------------------------------------------------------------
|
1570
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1571
|
-
----------------------------------------------------------------------------------
|
1572
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007ff8369c44c0>, "rack.errors"=>#<StringIO:0x007ff8369c4560>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1573
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1574
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1575
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1576
|
-
-----------------------------------------------------------------------
|
1577
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1578
|
-
-----------------------------------------------------------------------
|
1579
|
-
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1580
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "2a08432a-ae74-11e6-b644-9801a78f6ec1"], ["created_at", 2016-11-19 16:21:02 UTC], ["updated_at", 2016-11-19 16:21:02 UTC]]
|
1581
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1582
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
1583
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1584
|
-
----------------------------------------
|
1585
|
-
TestsControllerTest: test_exceptions_app
|
1586
|
-
----------------------------------------
|
1587
|
-
Processing by TestsController#show as HTML
|
1588
|
-
Parameters: {"id"=>"blah"}
|
1589
|
-
Completed 404 Not Found in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1590
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1591
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1592
|
-
----------------------------------------------------
|
1593
|
-
TestsControllerTest: test_options_request_is_handled
|
1594
|
-
----------------------------------------------------
|
1595
|
-
Processing by TestsController#options as HTML
|
1596
|
-
Rendering text template
|
1597
|
-
Rendered text template (0.0ms)
|
1598
|
-
Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
1599
|
-
Processing by TestsController#options as HTML
|
1600
|
-
Rendering text template
|
1601
|
-
Rendered text template (0.0ms)
|
1602
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1603
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1604
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1605
|
-
----------------------------------------------------------------
|
1606
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1607
|
-
----------------------------------------------------------------
|
1608
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1609
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "2a0e6354-ae74-11e6-b644-9801a78f6ec1"], ["created_at", 2016-11-19 16:21:02 UTC], ["updated_at", 2016-11-19 16:21:02 UTC]]
|
1610
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1611
|
-
Processing by TestsController#show as HTML
|
1612
|
-
Parameters: {"id"=>"2a0e6354-ae74-11e6-b644-9801a78f6ec1"}
|
1613
|
-
Attempting to get UniqueModel 2a0e6354-ae74-11e6-b644-9801a78f6ec1
|
1614
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "2a0e6354-ae74-11e6-b644-9801a78f6ec1"], ["LIMIT", 1]]
|
1615
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1616
|
-
[1m[35m (6.8ms)[0m [1m[31mrollback transaction[0m
|
1617
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1618
|
-
-----------------------------------------------
|
1619
|
-
TestsControllerTest: test_handle_standard_error
|
1620
|
-
-----------------------------------------------
|
1621
|
-
Processing by TestsController#index as HTML
|
1622
|
-
StandardError
|
1623
|
-
Completed 500 Internal Server Error in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1624
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1625
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1626
|
-
------------------------------------------------
|
1627
|
-
TestsControllerTest: test_render_multiple_errors
|
1628
|
-
------------------------------------------------
|
1629
|
-
Processing by TestsController#index as HTML
|
1630
|
-
Completed 400 Bad Request in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1631
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1632
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1633
|
-
-------------------------------------------------------------------------
|
1634
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1635
|
-
-------------------------------------------------------------------------
|
1636
|
-
Processing by TestsController#show as HTML
|
1637
|
-
Parameters: {"id"=>"blah"}
|
1638
|
-
Attempting to get UniqueModel blah
|
1639
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1640
|
-
404 - UniqueModel blah cannot be found
|
1641
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1642
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1643
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1644
|
-
-------------------------------------------------------------
|
1645
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1646
|
-
-------------------------------------------------------------
|
1647
|
-
Processing by TestsController#show as HTML
|
1648
|
-
Parameters: {"id"=>"400"}
|
1649
|
-
400 - Repia::Errors::BadRequest
|
1650
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1651
|
-
Processing by TestsController#show as HTML
|
1652
|
-
Parameters: {"id"=>"401"}
|
1653
|
-
401 - Repia::Errors::Unauthorized
|
1654
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1655
|
-
Processing by TestsController#show as HTML
|
1656
|
-
Parameters: {"id"=>"404"}
|
1657
|
-
404 - Repia::Errors::NotFound
|
1658
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1659
|
-
Processing by TestsController#show as HTML
|
1660
|
-
Parameters: {"id"=>"409"}
|
1661
|
-
409 - Repia::Errors::Conflict
|
1662
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1663
|
-
Processing by TestsController#show as HTML
|
1664
|
-
Parameters: {"id"=>"500"}
|
1665
|
-
500 - Repia::Errors::InternalServerError
|
1666
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1667
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1668
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1669
|
-
----------------------------------------------------------------------------------------
|
1670
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1671
|
-
----------------------------------------------------------------------------------------
|
1672
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1673
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1674
|
-
----------------------------------------------------------------------------------
|
1675
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1676
|
-
----------------------------------------------------------------------------------
|
1677
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007feb1d66ed78>, "rack.errors"=>#<StringIO:0x007feb1d66ee90>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1678
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1679
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1680
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1681
|
-
----------------------------------------------------------------------------------
|
1682
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_throws_405_for_invalid_HTTP_method
|
1683
|
-
----------------------------------------------------------------------------------
|
1684
|
-
ActionController::UnknownHttpMethod: {"rack.version"=>[1, 3], "rack.input"=>#<StringIO:0x007fbee32d3080>, "rack.errors"=>#<StringIO:0x007fbee32d30f8>, "rack.multithread"=>true, "rack.multiprocess"=>true, "rack.run_once"=>false, "REQUEST_METHOD"=>"DOESNOTEXIST", "SERVER_NAME"=>"example.org", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "PATH_INFO"=>"/users", "rack.url_scheme"=>"http", "HTTPS"=>"off", "SCRIPT_NAME"=>"", "CONTENT_LENGTH"=>"0"}
|
1685
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1686
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1687
|
-
----------------------------------------------------------------------------------------
|
1688
|
-
RepiaTest: test_HttpMethodNotAllowed_middleware_does_not_throw_405_for_valid_HTTP_method
|
1689
|
-
----------------------------------------------------------------------------------------
|
1690
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1691
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1692
|
-
-----------------------------------------------------------------------
|
1693
|
-
RepiaUniqueModelTest: test_UniqueModel_gets_assigned_a_UUID_at_creation
|
1694
|
-
-----------------------------------------------------------------------
|
1695
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1696
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "0d2a9e2c-ae76-11e6-b2bd-9801a78f6ec1"], ["created_at", 2016-11-19 16:34:33 UTC], ["updated_at", 2016-11-19 16:34:33 UTC]]
|
1697
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1698
|
-
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
1699
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1700
|
-
------------------------------------------------
|
1701
|
-
TestsControllerTest: test_render_multiple_errors
|
1702
|
-
------------------------------------------------
|
1703
|
-
Processing by TestsController#index as HTML
|
1704
|
-
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1705
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1706
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1707
|
-
----------------------------------------
|
1708
|
-
TestsControllerTest: test_exceptions_app
|
1709
|
-
----------------------------------------
|
1710
|
-
Processing by TestsController#show as HTML
|
1711
|
-
Parameters: {"id"=>"blah"}
|
1712
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1713
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1714
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1715
|
-
-----------------------------------------------
|
1716
|
-
TestsControllerTest: test_handle_standard_error
|
1717
|
-
-----------------------------------------------
|
1718
|
-
Processing by TestsController#index as HTML
|
1719
|
-
StandardError
|
1720
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1721
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1722
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1723
|
-
----------------------------------------------------------------
|
1724
|
-
TestsControllerTest: test_find_object_will_find_object_if_exists
|
1725
|
-
----------------------------------------------------------------
|
1726
|
-
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1727
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "unique_models" ("uuid", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["uuid", "0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"], ["created_at", 2016-11-19 16:34:33 UTC], ["updated_at", 2016-11-19 16:34:33 UTC]]
|
1728
|
-
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1729
|
-
Processing by TestsController#show as HTML
|
1730
|
-
Parameters: {"id"=>"0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"}
|
1731
|
-
Attempting to get UniqueModel 0d308bd4-ae76-11e6-b2bd-9801a78f6ec1
|
1732
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "0d308bd4-ae76-11e6-b2bd-9801a78f6ec1"], ["LIMIT", 1]]
|
1733
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1734
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
1735
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1736
|
-
-------------------------------------------------------------------------
|
1737
|
-
TestsControllerTest: test_find_object_will_error_if_object_does_not_exist
|
1738
|
-
-------------------------------------------------------------------------
|
1739
|
-
Processing by TestsController#show as HTML
|
1740
|
-
Parameters: {"id"=>"blah"}
|
1741
|
-
Attempting to get UniqueModel blah
|
1742
|
-
[1m[36mUniqueModel Load (0.1ms)[0m [1m[34mSELECT "unique_models".* FROM "unique_models" WHERE "unique_models"."uuid" = ? LIMIT ?[0m [["uuid", "blah"], ["LIMIT", 1]]
|
1743
|
-
404 - UniqueModel blah cannot be found
|
1744
|
-
Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1745
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1746
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1747
|
-
----------------------------------------------------
|
1748
|
-
TestsControllerTest: test_options_request_is_handled
|
1749
|
-
----------------------------------------------------
|
1750
|
-
Processing by TestsController#options as HTML
|
1751
|
-
Rendering text template
|
1752
|
-
Rendered text template (0.0ms)
|
1753
|
-
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
1754
|
-
Processing by TestsController#options as HTML
|
1755
|
-
Rendering text template
|
1756
|
-
Rendered text template (0.0ms)
|
1757
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1758
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1759
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1760
|
-
-------------------------------------------------------------
|
1761
|
-
TestsControllerTest: test_Predefined_errors_should_be_handled
|
1762
|
-
-------------------------------------------------------------
|
1763
|
-
Processing by TestsController#show as HTML
|
1764
|
-
Parameters: {"id"=>"400"}
|
1765
|
-
400 - Repia::Errors::BadRequest
|
1766
|
-
Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1767
|
-
Processing by TestsController#show as HTML
|
1768
|
-
Parameters: {"id"=>"401"}
|
1769
|
-
401 - Repia::Errors::Unauthorized
|
1770
|
-
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1771
|
-
Processing by TestsController#show as HTML
|
1772
|
-
Parameters: {"id"=>"404"}
|
1773
|
-
404 - Repia::Errors::NotFound
|
1774
|
-
Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1775
|
-
Processing by TestsController#show as HTML
|
1776
|
-
Parameters: {"id"=>"409"}
|
1777
|
-
409 - Repia::Errors::Conflict
|
1778
|
-
Completed 409 Conflict in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1779
|
-
Processing by TestsController#show as HTML
|
1780
|
-
Parameters: {"id"=>"500"}
|
1781
|
-
500 - Repia::Errors::InternalServerError
|
1782
|
-
Completed 500 Internal Server Error in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1783
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|