maestrano-rails 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +10 -6
- data/app/controllers/maestrano/rails/metadata_controller.rb +3 -1
- data/app/controllers/maestrano/rails/saml_base_controller.rb +6 -3
- data/app/controllers/maestrano/rails/web_hook_controller.rb +3 -3
- data/lib/generators/maestrano/templates/maestrano.rb +9 -0
- data/lib/maestrano/rails/routing/routes.rb +4 -6
- data/maestrano-rails.gemspec +8 -8
- data/test/dummy_activerecord/log/test.log +2139 -474
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/58e369b37e5157ea746a485eea17e9f7 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{260526788a28cefa81bc600586be1311 → 776374354bf36d24e442115e63b9a735} +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/7ae10239eda2588a95fdcc7d871bef52 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{a5b83efac01dc54c4751dd02b18fecf2 → 9620fb848d554874d4f20b7f0d60f35d} +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{59fddb0a51ca581e6a53e9219cd298bf → b0eaab2bc50e2e3547e318f8b43a941e} +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{b6d2aa6ccdbfae33b9016a32418f5697 → cc70cce011a969eca12cb127583c2cd6} +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/-uA6cy-2nKd6XkeWcJhr8X3v3yZ5oViPiHRlvne99W0.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/04Ki0BXgfOJJaUw5um_GT67jyhfSeC5XuP72cI6NoDY.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/1ld51qTCgZXC9suf2t2hWCTtpjSIsBirvsb90m9ie-8.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/5g7dhxVp4YbZmFw_-T3aU2oYq2Z9Jgtps0CKneXYSS0.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/6RdLjaglysmf-CPvVKaloO_-5q9ADlCh9heL_jAQz-8.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/6aJwp38vBSXdtink_SgOtnqUqp8Z8okHEs08vGkZ0ec.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/7Epn_PknptysV9qbt8psqZYuMkJ3cRQvbM5MRGmIoiM.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/7rKh4lG5ceEUlcKp6PKkbPdRZ-l2F_u-ZeykbRhaK2I.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/9TpslyozRKK68-sW9jLt13QIu1XWy-q-CzKU1EAb7RA.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/BQtyJR3ccqed7_s43p3BPj3IL18LWu1Fo1ZnzWC3qcc.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/DCFIDkbToSiICA4sBCKWvjY-H4gEV-F6c_uICFSEpyE.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/EEUTqiyEo6nmDZZeHMwO1r9cKT3LhciUYFSoHU0iGcE.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/KprhKxGjJIBw-qHcuN-fbQgVttWYDjUyQCKFvLUpSeQ.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/Mbf0YromzGbDh3Q33bjwLGOTV9oj3u4de0ocFPBeXCY.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/SBwQFRWeGZwRAHnGVCZGOamm432tMyKa18m-p6TWU6Q.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/SYzPyxJETf8U18Qget3u80KmztRl2iih2m4te76sQxs.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/Scwp43xGik78ndWSr7A_SyvfrES8ecFKFav7VJe3HFw.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/UDEx_cN4FPO4_mm7ccGeHKEBLb_Mh1EwZpX4n8A-N6w.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/VNCapNKJLeponthNeFJhaBYs92UBT3P8PugENHP0474.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/W1I750hXtFauIXfdF_h8f0H6Eh9fPjn1nb3WDnJGJ_0.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/WivRTRHrfoezUj_7OaU50eG012NUWibGEeJYA4g59mY.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/XGC8yjqErVk2OqXhCQ6xaSttX62JVKhceqwp6GNA57I.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/eYr8LE29pvbLeoiuX1INZlTcPYWjQ7ThMYuRIvPPlCg.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/gy9RGhwK8c2SEljBLCz_qiWrBoP_Cl5IgvCjJuxw148.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/mOquqR85EYU-k_BoZjuqfR9xrhR4yQUUWCi_3Y3f_u4.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/mhIfYcBPFAF-_yuaqLVntwdB3zZcDDOc5femwATDC8Q.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/rXBgGAYahPKy55mgXjkz5OcFFiiGfvCLoOsbkMQGNDs.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/s79F8WSoX84q4jW1ddfSi4dIy-lhWcJDPWw4asKPmMs.cache +2 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/sn7tMYj6vUxaFXG7SQe4O79d5oMoqJydwx33q9-308E.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/uRsN6Sa_S5hSLGCCuuLNBXfhwvck-N7Sr2XbVq8waFY.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/xNScSuE8jYRa2F41anynskx2xa5avSWkYLFAH2l95Ic.cache +1 -0
- data/test/tmp/app/models/monster.rb +8 -2
- metadata +79 -16
- data/test/dummy_mongoid/log/test.log +0 -130
- data/test/tmp/db/migrate/20140731080123_add_maestrano_to_monsters.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fedd1ff130d558fb306be8559c24744c04a07d37
|
4
|
+
data.tar.gz: 1cd98b728ff23732d4fecc76686ba46662965f55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaea660651d7009b7868694cb2b52ae5f7cf9808a82588049e9e2ed73f7da363bba6516be3586a70c25b7b74f7dcf1e745b58d7e49312866ac14e93a15f0447a
|
7
|
+
data.tar.gz: 2785e1b32bbec1ecca65d252565e651086c348fa2384ccaccec90dc4d7445604925a6c299e5203c2a913998af5c09257b4652722d908d33a436a5faecdcf5988
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -36,7 +36,7 @@ GEM
|
|
36
36
|
database_cleaner (1.3.0)
|
37
37
|
descendants_tracker (0.0.4)
|
38
38
|
thread_safe (~> 0.3, >= 0.3.1)
|
39
|
-
domain_name (0.5.
|
39
|
+
domain_name (0.5.24)
|
40
40
|
unf (>= 0.0.5, < 1.0.0)
|
41
41
|
durran-validatable (2.0.1)
|
42
42
|
erubis (2.7.0)
|
@@ -56,7 +56,7 @@ GEM
|
|
56
56
|
hike (1.2.3)
|
57
57
|
http-cookie (1.0.2)
|
58
58
|
domain_name (~> 0.5)
|
59
|
-
httparty (0.13.
|
59
|
+
httparty (0.13.7)
|
60
60
|
json (~> 1.8)
|
61
61
|
multi_xml (>= 0.5.2)
|
62
62
|
i18n (0.6.11)
|
@@ -73,11 +73,12 @@ GEM
|
|
73
73
|
railties (>= 3.0, < 5.0)
|
74
74
|
thor (>= 0.14, < 2.0)
|
75
75
|
json (1.8.1)
|
76
|
+
json (1.8.1-java)
|
76
77
|
jwt (1.0.0)
|
77
78
|
leshill-will_paginate (2.3.11)
|
78
79
|
macaddr (1.7.1)
|
79
80
|
systemu (~> 2.6.2)
|
80
|
-
maestrano (0.
|
81
|
+
maestrano (0.12.0)
|
81
82
|
httparty (~> 0.13)
|
82
83
|
json (~> 1.8)
|
83
84
|
mime-types (~> 1.25)
|
@@ -106,6 +107,7 @@ GEM
|
|
106
107
|
netrc (0.10.3)
|
107
108
|
nokogiri (1.6.3.1)
|
108
109
|
mini_portile (= 0.6.0)
|
110
|
+
nokogiri (1.6.3.1-java)
|
109
111
|
oauth2 (1.0.0)
|
110
112
|
faraday (>= 0.8, < 0.10)
|
111
113
|
jwt (~> 1.0)
|
@@ -166,11 +168,13 @@ GEM
|
|
166
168
|
thread_safe (~> 0.1)
|
167
169
|
unf (0.1.4)
|
168
170
|
unf_ext
|
169
|
-
|
170
|
-
|
171
|
+
unf (0.1.4-java)
|
172
|
+
unf_ext (0.0.7.1)
|
173
|
+
uuid (2.3.8)
|
171
174
|
macaddr (~> 1.0)
|
172
175
|
|
173
176
|
PLATFORMS
|
177
|
+
java
|
174
178
|
ruby
|
175
179
|
|
176
180
|
DEPENDENCIES
|
@@ -178,7 +182,7 @@ DEPENDENCIES
|
|
178
182
|
database_cleaner
|
179
183
|
jeweler
|
180
184
|
jquery-rails
|
181
|
-
maestrano (~> 0.
|
185
|
+
maestrano (~> 0.12.0)
|
182
186
|
mocha
|
183
187
|
mongoid
|
184
188
|
rails
|
@@ -1,8 +1,10 @@
|
|
1
1
|
class Maestrano::Rails::MetadataController < Maestrano::Rails::WebHookController
|
2
2
|
|
3
3
|
# GET /maestrano/metadata
|
4
|
+
# GET /maestrano/metadata/:tenant
|
5
|
+
#
|
4
6
|
# Return the Maestrano configuration for this application
|
5
7
|
def index
|
6
|
-
render json: Maestrano.to_metadata
|
8
|
+
render json: Maestrano[params[:tenant]].to_metadata
|
7
9
|
end
|
8
10
|
end
|
@@ -3,10 +3,13 @@ class Maestrano::Rails::SamlBaseController < ApplicationController
|
|
3
3
|
protect_from_forgery :except => [:consume]
|
4
4
|
around_filter :saml_response_transaction, only: [:consume]
|
5
5
|
|
6
|
-
#
|
7
|
-
#
|
6
|
+
# GET /maestrano/auth/saml/init
|
7
|
+
# GET /maestrano/auth/saml/init/:tenant
|
8
|
+
#
|
9
|
+
# Initialize the SAML request and redirects the user to Maestrano
|
8
10
|
def init
|
9
|
-
|
11
|
+
session[:tenant] = params[:tenant]
|
12
|
+
redirect_to Maestrano::Saml::Request[params[:tenant]].new(params, session).redirect_url
|
10
13
|
end
|
11
14
|
|
12
15
|
#===================================
|
@@ -4,9 +4,9 @@ class Maestrano::Rails::WebHookController < ApplicationController
|
|
4
4
|
|
5
5
|
private
|
6
6
|
def authenticate_maestrano!
|
7
|
-
|
8
|
-
authenticate_with_http_basic do |app_id, api_token|
|
9
|
-
|
7
|
+
# Matches the credentials against the ones configured for the tenant preset
|
8
|
+
authorized = authenticate_with_http_basic do |app_id, api_token|
|
9
|
+
Maestrano[params[:tenant]].authenticate(app_id, api_token)
|
10
10
|
end
|
11
11
|
unless authorized
|
12
12
|
render json: {error: 'Invalid credentials' }, status: :unauthorized
|
@@ -123,4 +123,13 @@ Maestrano.configure do |config|
|
|
123
123
|
#
|
124
124
|
# config.webhook.account.groups_path = '/maestrano/account/groups/:id',
|
125
125
|
# config.webhook.account.group_users_path = '/maestrano/account/groups/:group_id/users/:id',
|
126
|
+
end
|
127
|
+
|
128
|
+
# Example of multi-tenant configuration
|
129
|
+
Maestrano['other-tenant'].configure do |config|
|
130
|
+
config.environment = 'test'
|
131
|
+
config.app.host = (config.environment == 'production' ? 'https://my-app.com' : 'http://localhost:3000')
|
132
|
+
|
133
|
+
config.api.id = (config.environment == 'production' ? 'prod_app_id' : 'sandbox_app_id')
|
134
|
+
config.api.key = (config.environment == 'production' ? 'prod_api_key' : 'sandbox_api_key')
|
126
135
|
end
|
@@ -3,16 +3,14 @@ module ActionDispatch::Routing
|
|
3
3
|
def maestrano_routes
|
4
4
|
namespace :maestrano do
|
5
5
|
scope module: :rails do
|
6
|
-
get '/metadata'
|
6
|
+
get '/metadata', to: 'metadata#index'
|
7
|
+
get '/metadata/:tenant', to: 'metadata#index', as: 'tenant'
|
7
8
|
end
|
8
|
-
|
9
|
-
namespace :rails do
|
10
|
-
get '/maestrano/metadata'
|
11
|
-
end
|
12
|
-
|
9
|
+
|
13
10
|
namespace :auth do
|
14
11
|
resources :saml, only:[] do
|
15
12
|
get 'init', on: :collection
|
13
|
+
get 'init/:tenant', on: :collection, to: 'saml#init', as: 'tenant'
|
16
14
|
post 'consume', on: :collection
|
17
15
|
end
|
18
16
|
end
|
data/maestrano-rails.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: maestrano-rails 0.
|
5
|
+
# stub: maestrano-rails 0.12.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "maestrano-rails"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.12.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Arnaud Lachaume"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-10-01"
|
15
15
|
s.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
|
16
16
|
s.email = ["arnaud.lachaume@maestrano.com"]
|
17
17
|
s.extra_rdoc_files = [
|
@@ -49,9 +49,9 @@ Gem::Specification.new do |s|
|
|
49
49
|
]
|
50
50
|
s.homepage = "https://maestrano.com"
|
51
51
|
s.licenses = ["MIT"]
|
52
|
-
s.rubygems_version = "2.
|
52
|
+
s.rubygems_version = "2.4.5"
|
53
53
|
s.summary = "Rails plugin for Maestrano API"
|
54
|
-
s.test_files = ["test/controllers", "test/controllers/generic_controller_test.rb", "test/controllers/group_users_controller_test.rb", "test/controllers/groups_controller_test.rb", "test/controllers/metadata_controller_test.rb", "test/controllers/saml_controller_test.rb", "test/dummy", "test/dummy/app", "test/dummy/app/assets", "test/dummy/app/assets/images", "test/dummy/db", "test/dummy/db/development.sqlite3", "test/dummy/db/test.sqlite3", "test/dummy/log", "test/dummy/log/development.log", "test/dummy/log/test.log", "test/dummy/tmp", "test/dummy/tmp/cache", "test/dummy/tmp/cache/assets", "test/dummy_activerecord", "test/dummy_activerecord/README.rdoc", "test/dummy_activerecord/Rakefile", "test/dummy_activerecord/app", "test/dummy_activerecord/app/assets", "test/dummy_activerecord/app/assets/javascripts", "test/dummy_activerecord/app/assets/javascripts/application.js", "test/dummy_activerecord/app/assets/javascripts/pages.js", "test/dummy_activerecord/app/assets/stylesheets", "test/dummy_activerecord/app/assets/stylesheets/application.css", "test/dummy_activerecord/app/assets/stylesheets/pages.css", "test/dummy_activerecord/app/controllers", "test/dummy_activerecord/app/controllers/application_controller.rb", "test/dummy_activerecord/app/controllers/maestrano", "test/dummy_activerecord/app/controllers/maestrano/account", "test/dummy_activerecord/app/controllers/maestrano/account/group_users_controller.rb", "test/dummy_activerecord/app/controllers/maestrano/account/groups_controller.rb", "test/dummy_activerecord/app/controllers/maestrano/auth", "test/dummy_activerecord/app/controllers/maestrano/auth/saml_controller.rb", "test/dummy_activerecord/app/controllers/pages_controller.rb", "test/dummy_activerecord/app/helpers", "test/dummy_activerecord/app/helpers/application_helper.rb", "test/dummy_activerecord/app/helpers/pages_helper.rb", "test/dummy_activerecord/app/mailers", "test/dummy_activerecord/app/models", "test/dummy_activerecord/app/models/admin", "test/dummy_activerecord/app/models/admin.rb", "test/dummy_activerecord/app/models/admin/monster.rb", "test/dummy_activerecord/app/models/mno_crew.rb", "test/dummy_activerecord/app/models/mno_monster.rb", "test/dummy_activerecord/app/models/monster.rb", "test/dummy_activerecord/app/views", "test/dummy_activerecord/app/views/layouts", "test/dummy_activerecord/app/views/layouts/application.html.erb", "test/dummy_activerecord/app/views/pages", "test/dummy_activerecord/app/views/pages/home.html.erb", "test/dummy_activerecord/config", "test/dummy_activerecord/config.ru", "test/dummy_activerecord/config/application.rb", "test/dummy_activerecord/config/boot.rb", "test/dummy_activerecord/config/database.yml", "test/dummy_activerecord/config/environment.rb", "test/dummy_activerecord/config/environments", "test/dummy_activerecord/config/environments/development.rb", "test/dummy_activerecord/config/environments/production.rb", "test/dummy_activerecord/config/environments/test.rb", "test/dummy_activerecord/config/initializers", "test/dummy_activerecord/config/initializers/backtrace_silencers.rb", "test/dummy_activerecord/config/initializers/inflections.rb", "test/dummy_activerecord/config/initializers/maestrano.rb", "test/dummy_activerecord/config/initializers/mime_types.rb", "test/dummy_activerecord/config/initializers/secret_token.rb", "test/dummy_activerecord/config/initializers/session_store.rb", "test/dummy_activerecord/config/initializers/wrap_parameters.rb", "test/dummy_activerecord/config/locales", "test/dummy_activerecord/config/locales/en.yml", "test/dummy_activerecord/config/routes.rb", "test/dummy_activerecord/db", "test/dummy_activerecord/db/development.sqlite3", "test/dummy_activerecord/db/migrate", "test/dummy_activerecord/db/migrate/20140526125222_create_monsters.rb", "test/dummy_activerecord/db/migrate/20140526125242_create_admin_monsters.rb", "test/dummy_activerecord/db/migrate/20140526144828_create_mno_monsters.rb", "test/dummy_activerecord/db/migrate/20140526151139_create_mno_crews.rb", "test/dummy_activerecord/db/schema.rb", "test/dummy_activerecord/db/test.sqlite3", "test/dummy_activerecord/lib", "test/dummy_activerecord/lib/assets", "test/dummy_activerecord/log", "test/dummy_activerecord/log/development.log", "test/dummy_activerecord/log/test.log", "test/dummy_activerecord/public", "test/dummy_activerecord/public/404.html", "test/dummy_activerecord/public/422.html", "test/dummy_activerecord/public/500.html", "test/dummy_activerecord/public/favicon.ico", "test/dummy_activerecord/script", "test/dummy_activerecord/script/rails", "test/dummy_activerecord/tmp", "test/dummy_activerecord/tmp/cache", "test/dummy_activerecord/tmp/cache/assets", "test/dummy_activerecord/tmp/cache/assets/test", "test/dummy_activerecord/tmp/cache/assets/test/sprockets", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/260526788a28cefa81bc600586be1311", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/58e369b37e5157ea746a485eea17e9f7", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/59fddb0a51ca581e6a53e9219cd298bf", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/7ae10239eda2588a95fdcc7d871bef52", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/a5b83efac01dc54c4751dd02b18fecf2", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/b6d2aa6ccdbfae33b9016a32418f5697", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655", "test/dummy_mongoid", "test/dummy_mongoid/README.rdoc", "test/dummy_mongoid/Rakefile", "test/dummy_mongoid/app", "test/dummy_mongoid/app/assets", "test/dummy_mongoid/app/assets/javascripts", "test/dummy_mongoid/app/assets/javascripts/application.js", "test/dummy_mongoid/app/assets/javascripts/pages.js", "test/dummy_mongoid/app/assets/stylesheets", "test/dummy_mongoid/app/assets/stylesheets/application.css", "test/dummy_mongoid/app/assets/stylesheets/pages.css", "test/dummy_mongoid/app/controllers", "test/dummy_mongoid/app/controllers/application_controller.rb", "test/dummy_mongoid/app/controllers/maestrano", "test/dummy_mongoid/app/controllers/maestrano/account", "test/dummy_mongoid/app/controllers/maestrano/account/group_users_controller.rb", "test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb", "test/dummy_mongoid/app/controllers/maestrano/auth", "test/dummy_mongoid/app/controllers/maestrano/auth/saml_controller.rb", "test/dummy_mongoid/app/controllers/pages_controller.rb", "test/dummy_mongoid/app/helpers", "test/dummy_mongoid/app/helpers/application_helper.rb", "test/dummy_mongoid/app/helpers/pages_helper.rb", "test/dummy_mongoid/app/mailers", "test/dummy_mongoid/app/models", "test/dummy_mongoid/app/models/mno_crew.rb", "test/dummy_mongoid/app/models/mno_monster.rb", "test/dummy_mongoid/app/models/monster.rb", "test/dummy_mongoid/app/views", "test/dummy_mongoid/app/views/layouts", "test/dummy_mongoid/app/views/layouts/application.html.erb", "test/dummy_mongoid/app/views/pages", "test/dummy_mongoid/app/views/pages/home.html.erb", "test/dummy_mongoid/config", "test/dummy_mongoid/config.ru", "test/dummy_mongoid/config/application.rb", "test/dummy_mongoid/config/boot.rb", "test/dummy_mongoid/config/environment.rb", "test/dummy_mongoid/config/environments", "test/dummy_mongoid/config/environments/development.rb", "test/dummy_mongoid/config/environments/production.rb", "test/dummy_mongoid/config/environments/test.rb", "test/dummy_mongoid/config/initializers", "test/dummy_mongoid/config/initializers/backtrace_silencers.rb", "test/dummy_mongoid/config/initializers/inflections.rb", "test/dummy_mongoid/config/initializers/maestrano.rb", "test/dummy_mongoid/config/initializers/mime_types.rb", "test/dummy_mongoid/config/initializers/secret_token.rb", "test/dummy_mongoid/config/initializers/session_store.rb", "test/dummy_mongoid/config/initializers/wrap_parameters.rb", "test/dummy_mongoid/config/locales", "test/dummy_mongoid/config/locales/en.yml", "test/dummy_mongoid/config/mongoid.yml", "test/dummy_mongoid/config/routes.rb", "test/dummy_mongoid/db", "test/dummy_mongoid/db/migrate", "test/dummy_mongoid/db/migrate/20140526125222_create_monsters.rb", "test/dummy_mongoid/db/migrate/20140526125242_create_admin_monsters.rb", "test/dummy_mongoid/db/migrate/20140526144828_create_mno_monsters.rb", "test/dummy_mongoid/db/migrate/20140526151139_create_mno_crews.rb", "test/dummy_mongoid/db/schema.rb", "test/dummy_mongoid/lib", "test/dummy_mongoid/lib/assets", "test/dummy_mongoid/log", "test/dummy_mongoid/log/test.log", "test/dummy_mongoid/public", "test/dummy_mongoid/public/404.html", "test/dummy_mongoid/public/422.html", "test/dummy_mongoid/public/500.html", "test/dummy_mongoid/public/favicon.ico", "test/dummy_mongoid/script", "test/dummy_mongoid/script/rails", "test/generators", "test/generators/group", "test/generators/group/active_record_generator_test.rb", "test/generators/group/mongoid_generator_test.rb", "test/generators/group_generator_test.rb", "test/generators/install_generator_test.rb", "test/generators/user", "test/generators/user/active_record_generator_test.rb", "test/generators/user/mongoid_generator_test.rb", "test/generators/user_generator_test.rb", "test/maestrano-rails_test.rb", "test/models", "test/models/maestrano_group_via_test.rb", "test/models/maestrano_user_via_test.rb", "test/test_files", "test/test_files/config", "test/test_files/config/routes.rb", "test/test_helper.rb", "test/tmp", "test/tmp/app", "test/tmp/app/models", "test/tmp/app/models/monster.rb", "test/tmp/db", "test/tmp/db/migrate", "test/tmp/db/migrate/20140731080123_add_maestrano_to_monsters.rb"]
|
54
|
+
s.test_files = ["test/controllers", "test/controllers/generic_controller_test.rb", "test/controllers/group_users_controller_test.rb", "test/controllers/groups_controller_test.rb", "test/controllers/metadata_controller_test.rb", "test/controllers/saml_controller_test.rb", "test/dummy", "test/dummy/db", "test/dummy/db/development.sqlite3", "test/dummy/db/test.sqlite3", "test/dummy/log", "test/dummy/log/development.log", "test/dummy/log/test.log", "test/dummy_activerecord", "test/dummy_activerecord/README.rdoc", "test/dummy_activerecord/Rakefile", "test/dummy_activerecord/app", "test/dummy_activerecord/app/assets", "test/dummy_activerecord/app/assets/javascripts", "test/dummy_activerecord/app/assets/javascripts/application.js", "test/dummy_activerecord/app/assets/javascripts/pages.js", "test/dummy_activerecord/app/assets/stylesheets", "test/dummy_activerecord/app/assets/stylesheets/application.css", "test/dummy_activerecord/app/assets/stylesheets/pages.css", "test/dummy_activerecord/app/controllers", "test/dummy_activerecord/app/controllers/application_controller.rb", "test/dummy_activerecord/app/controllers/maestrano", "test/dummy_activerecord/app/controllers/maestrano/account", "test/dummy_activerecord/app/controllers/maestrano/account/group_users_controller.rb", "test/dummy_activerecord/app/controllers/maestrano/account/groups_controller.rb", "test/dummy_activerecord/app/controllers/maestrano/auth", "test/dummy_activerecord/app/controllers/maestrano/auth/saml_controller.rb", "test/dummy_activerecord/app/controllers/pages_controller.rb", "test/dummy_activerecord/app/helpers", "test/dummy_activerecord/app/helpers/application_helper.rb", "test/dummy_activerecord/app/helpers/pages_helper.rb", "test/dummy_activerecord/app/mailers", "test/dummy_activerecord/app/models", "test/dummy_activerecord/app/models/admin", "test/dummy_activerecord/app/models/admin.rb", "test/dummy_activerecord/app/models/admin/monster.rb", "test/dummy_activerecord/app/models/mno_crew.rb", "test/dummy_activerecord/app/models/mno_monster.rb", "test/dummy_activerecord/app/models/monster.rb", "test/dummy_activerecord/app/views", "test/dummy_activerecord/app/views/layouts", "test/dummy_activerecord/app/views/layouts/application.html.erb", "test/dummy_activerecord/app/views/pages", "test/dummy_activerecord/app/views/pages/home.html.erb", "test/dummy_activerecord/config", "test/dummy_activerecord/config.ru", "test/dummy_activerecord/config/application.rb", "test/dummy_activerecord/config/boot.rb", "test/dummy_activerecord/config/database.yml", "test/dummy_activerecord/config/environment.rb", "test/dummy_activerecord/config/environments", "test/dummy_activerecord/config/environments/development.rb", "test/dummy_activerecord/config/environments/production.rb", "test/dummy_activerecord/config/environments/test.rb", "test/dummy_activerecord/config/initializers", "test/dummy_activerecord/config/initializers/backtrace_silencers.rb", "test/dummy_activerecord/config/initializers/inflections.rb", "test/dummy_activerecord/config/initializers/maestrano.rb", "test/dummy_activerecord/config/initializers/mime_types.rb", "test/dummy_activerecord/config/initializers/secret_token.rb", "test/dummy_activerecord/config/initializers/session_store.rb", "test/dummy_activerecord/config/initializers/wrap_parameters.rb", "test/dummy_activerecord/config/locales", "test/dummy_activerecord/config/locales/en.yml", "test/dummy_activerecord/config/routes.rb", "test/dummy_activerecord/db", "test/dummy_activerecord/db/development.sqlite3", "test/dummy_activerecord/db/migrate", "test/dummy_activerecord/db/migrate/20140526125222_create_monsters.rb", "test/dummy_activerecord/db/migrate/20140526125242_create_admin_monsters.rb", "test/dummy_activerecord/db/migrate/20140526144828_create_mno_monsters.rb", "test/dummy_activerecord/db/migrate/20140526151139_create_mno_crews.rb", "test/dummy_activerecord/db/schema.rb", "test/dummy_activerecord/db/test.sqlite3", "test/dummy_activerecord/lib", "test/dummy_activerecord/lib/assets", "test/dummy_activerecord/log", "test/dummy_activerecord/log/development.log", "test/dummy_activerecord/log/test.log", "test/dummy_activerecord/public", "test/dummy_activerecord/public/404.html", "test/dummy_activerecord/public/422.html", "test/dummy_activerecord/public/500.html", "test/dummy_activerecord/public/favicon.ico", "test/dummy_activerecord/script", "test/dummy_activerecord/script/rails", "test/dummy_activerecord/tmp", "test/dummy_activerecord/tmp/cache", "test/dummy_activerecord/tmp/cache/assets", "test/dummy_activerecord/tmp/cache/assets/test", "test/dummy_activerecord/tmp/cache/assets/test/sprockets", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/58e369b37e5157ea746a485eea17e9f7", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/776374354bf36d24e442115e63b9a735", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/7ae10239eda2588a95fdcc7d871bef52", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/9620fb848d554874d4f20b7f0d60f35d", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/b0eaab2bc50e2e3547e318f8b43a941e", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/cc70cce011a969eca12cb127583c2cd6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/-uA6cy-2nKd6XkeWcJhr8X3v3yZ5oViPiHRlvne99W0.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/04Ki0BXgfOJJaUw5um_GT67jyhfSeC5XuP72cI6NoDY.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/1ld51qTCgZXC9suf2t2hWCTtpjSIsBirvsb90m9ie-8.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/5g7dhxVp4YbZmFw_-T3aU2oYq2Z9Jgtps0CKneXYSS0.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/6RdLjaglysmf-CPvVKaloO_-5q9ADlCh9heL_jAQz-8.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/6aJwp38vBSXdtink_SgOtnqUqp8Z8okHEs08vGkZ0ec.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/7Epn_PknptysV9qbt8psqZYuMkJ3cRQvbM5MRGmIoiM.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/7rKh4lG5ceEUlcKp6PKkbPdRZ-l2F_u-ZeykbRhaK2I.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/9TpslyozRKK68-sW9jLt13QIu1XWy-q-CzKU1EAb7RA.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/BQtyJR3ccqed7_s43p3BPj3IL18LWu1Fo1ZnzWC3qcc.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/DCFIDkbToSiICA4sBCKWvjY-H4gEV-F6c_uICFSEpyE.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/EEUTqiyEo6nmDZZeHMwO1r9cKT3LhciUYFSoHU0iGcE.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/KprhKxGjJIBw-qHcuN-fbQgVttWYDjUyQCKFvLUpSeQ.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/Mbf0YromzGbDh3Q33bjwLGOTV9oj3u4de0ocFPBeXCY.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/SBwQFRWeGZwRAHnGVCZGOamm432tMyKa18m-p6TWU6Q.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/SYzPyxJETf8U18Qget3u80KmztRl2iih2m4te76sQxs.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/Scwp43xGik78ndWSr7A_SyvfrES8ecFKFav7VJe3HFw.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/UDEx_cN4FPO4_mm7ccGeHKEBLb_Mh1EwZpX4n8A-N6w.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/VNCapNKJLeponthNeFJhaBYs92UBT3P8PugENHP0474.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/W1I750hXtFauIXfdF_h8f0H6Eh9fPjn1nb3WDnJGJ_0.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/WivRTRHrfoezUj_7OaU50eG012NUWibGEeJYA4g59mY.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/XGC8yjqErVk2OqXhCQ6xaSttX62JVKhceqwp6GNA57I.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/eYr8LE29pvbLeoiuX1INZlTcPYWjQ7ThMYuRIvPPlCg.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/gy9RGhwK8c2SEljBLCz_qiWrBoP_Cl5IgvCjJuxw148.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/mOquqR85EYU-k_BoZjuqfR9xrhR4yQUUWCi_3Y3f_u4.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/mhIfYcBPFAF-_yuaqLVntwdB3zZcDDOc5femwATDC8Q.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/rXBgGAYahPKy55mgXjkz5OcFFiiGfvCLoOsbkMQGNDs.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/s79F8WSoX84q4jW1ddfSi4dIy-lhWcJDPWw4asKPmMs.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/sn7tMYj6vUxaFXG7SQe4O79d5oMoqJydwx33q9-308E.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/uRsN6Sa_S5hSLGCCuuLNBXfhwvck-N7Sr2XbVq8waFY.cache", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/xNScSuE8jYRa2F41anynskx2xa5avSWkYLFAH2l95Ic.cache", "test/dummy_mongoid", "test/dummy_mongoid/README.rdoc", "test/dummy_mongoid/Rakefile", "test/dummy_mongoid/app", "test/dummy_mongoid/app/assets", "test/dummy_mongoid/app/assets/javascripts", "test/dummy_mongoid/app/assets/javascripts/application.js", "test/dummy_mongoid/app/assets/javascripts/pages.js", "test/dummy_mongoid/app/assets/stylesheets", "test/dummy_mongoid/app/assets/stylesheets/application.css", "test/dummy_mongoid/app/assets/stylesheets/pages.css", "test/dummy_mongoid/app/controllers", "test/dummy_mongoid/app/controllers/application_controller.rb", "test/dummy_mongoid/app/controllers/maestrano", "test/dummy_mongoid/app/controllers/maestrano/account", "test/dummy_mongoid/app/controllers/maestrano/account/group_users_controller.rb", "test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb", "test/dummy_mongoid/app/controllers/maestrano/auth", "test/dummy_mongoid/app/controllers/maestrano/auth/saml_controller.rb", "test/dummy_mongoid/app/controllers/pages_controller.rb", "test/dummy_mongoid/app/helpers", "test/dummy_mongoid/app/helpers/application_helper.rb", "test/dummy_mongoid/app/helpers/pages_helper.rb", "test/dummy_mongoid/app/mailers", "test/dummy_mongoid/app/models", "test/dummy_mongoid/app/models/mno_crew.rb", "test/dummy_mongoid/app/models/mno_monster.rb", "test/dummy_mongoid/app/models/monster.rb", "test/dummy_mongoid/app/views", "test/dummy_mongoid/app/views/layouts", "test/dummy_mongoid/app/views/layouts/application.html.erb", "test/dummy_mongoid/app/views/pages", "test/dummy_mongoid/app/views/pages/home.html.erb", "test/dummy_mongoid/config", "test/dummy_mongoid/config.ru", "test/dummy_mongoid/config/application.rb", "test/dummy_mongoid/config/boot.rb", "test/dummy_mongoid/config/environment.rb", "test/dummy_mongoid/config/environments", "test/dummy_mongoid/config/environments/development.rb", "test/dummy_mongoid/config/environments/production.rb", "test/dummy_mongoid/config/environments/test.rb", "test/dummy_mongoid/config/initializers", "test/dummy_mongoid/config/initializers/backtrace_silencers.rb", "test/dummy_mongoid/config/initializers/inflections.rb", "test/dummy_mongoid/config/initializers/maestrano.rb", "test/dummy_mongoid/config/initializers/mime_types.rb", "test/dummy_mongoid/config/initializers/secret_token.rb", "test/dummy_mongoid/config/initializers/session_store.rb", "test/dummy_mongoid/config/initializers/wrap_parameters.rb", "test/dummy_mongoid/config/locales", "test/dummy_mongoid/config/locales/en.yml", "test/dummy_mongoid/config/mongoid.yml", "test/dummy_mongoid/config/routes.rb", "test/dummy_mongoid/db", "test/dummy_mongoid/db/migrate", "test/dummy_mongoid/db/migrate/20140526125222_create_monsters.rb", "test/dummy_mongoid/db/migrate/20140526125242_create_admin_monsters.rb", "test/dummy_mongoid/db/migrate/20140526144828_create_mno_monsters.rb", "test/dummy_mongoid/db/migrate/20140526151139_create_mno_crews.rb", "test/dummy_mongoid/db/schema.rb", "test/dummy_mongoid/lib", "test/dummy_mongoid/lib/assets", "test/dummy_mongoid/log", "test/dummy_mongoid/public", "test/dummy_mongoid/public/404.html", "test/dummy_mongoid/public/422.html", "test/dummy_mongoid/public/500.html", "test/dummy_mongoid/public/favicon.ico", "test/dummy_mongoid/script", "test/dummy_mongoid/script/rails", "test/generators", "test/generators/group", "test/generators/group/active_record_generator_test.rb", "test/generators/group/mongoid_generator_test.rb", "test/generators/group_generator_test.rb", "test/generators/install_generator_test.rb", "test/generators/user", "test/generators/user/active_record_generator_test.rb", "test/generators/user/mongoid_generator_test.rb", "test/generators/user_generator_test.rb", "test/maestrano-rails_test.rb", "test/models", "test/models/maestrano_group_via_test.rb", "test/models/maestrano_user_via_test.rb", "test/test_files", "test/test_files/config", "test/test_files/config/routes.rb", "test/test_helper.rb", "test/tmp", "test/tmp/app", "test/tmp/app/models", "test/tmp/app/models/monster.rb"]
|
55
55
|
|
56
56
|
if s.respond_to? :specification_version then
|
57
57
|
s.specification_version = 4
|
@@ -59,18 +59,18 @@ Gem::Specification.new do |s|
|
|
59
59
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
60
|
s.add_runtime_dependency(%q<rails>, [">= 0"])
|
61
61
|
s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
|
62
|
-
s.add_runtime_dependency(%q<maestrano>, ["~> 0.
|
62
|
+
s.add_runtime_dependency(%q<maestrano>, ["~> 0.12.0"])
|
63
63
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
64
64
|
else
|
65
65
|
s.add_dependency(%q<rails>, [">= 0"])
|
66
66
|
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
67
|
-
s.add_dependency(%q<maestrano>, ["~> 0.
|
67
|
+
s.add_dependency(%q<maestrano>, ["~> 0.12.0"])
|
68
68
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
69
69
|
end
|
70
70
|
else
|
71
71
|
s.add_dependency(%q<rails>, [">= 0"])
|
72
72
|
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
73
|
-
s.add_dependency(%q<maestrano>, ["~> 0.
|
73
|
+
s.add_dependency(%q<maestrano>, ["~> 0.12.0"])
|
74
74
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
75
75
|
end
|
76
76
|
end
|
@@ -1,31 +1,1520 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
3
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
4
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
5
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
7
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
9
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:38:48.848147"], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-30 23:38:48.848147"]]
|
11
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
12
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
14
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
15
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
16
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
20
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:38:48.851432"], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:38:48.851432"]]
|
21
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
22
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
23
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
24
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:38:48.852647"], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-30 23:38:48.852647"]]
|
25
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
26
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
27
|
+
------------------------------------------------------------------------------------------------------------------------------
|
28
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
29
|
+
------------------------------------------------------------------------------------------------------------------------------
|
30
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31
|
+
[1m[35m (0.0ms)[0m commit transaction
|
32
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
34
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:38:48.854102"], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-30 23:38:48.854102"]]
|
35
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
37
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38
|
+
----------------------------------------------------------------------------------------------------
|
39
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
40
|
+
----------------------------------------------------------------------------------------------------
|
41
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45
|
+
-------------------------------------------------------------------------------------------------------------
|
46
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
47
|
+
-------------------------------------------------------------------------------------------------------------
|
48
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
+
[1m[35m (0.0ms)[0m commit transaction
|
50
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
51
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
52
|
+
-----------------------------------------------------------------------------------------------
|
53
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
54
|
+
-----------------------------------------------------------------------------------------------
|
55
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
56
|
+
[1m[35m (0.0ms)[0m commit transaction
|
57
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
59
|
+
------------------------------------------------------------------------------------------------------------------------
|
60
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
61
|
+
------------------------------------------------------------------------------------------------------------------------
|
62
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
+
[1m[35m (0.0ms)[0m commit transaction
|
64
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
65
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
66
|
+
-------------------------------------------------------------------------------------------
|
67
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
68
|
+
-------------------------------------------------------------------------------------------
|
69
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70
|
+
[1m[35m (0.0ms)[0m commit transaction
|
71
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
72
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
73
|
+
---------------------------------------------------------------------------------------
|
74
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
75
|
+
---------------------------------------------------------------------------------------
|
76
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
+
[1m[35m (0.0ms)[0m commit transaction
|
78
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
79
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
80
|
+
---------------------------------------------------------------------------------------
|
81
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
82
|
+
---------------------------------------------------------------------------------------
|
83
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84
|
+
[1m[35m (0.0ms)[0m commit transaction
|
85
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
87
|
+
-----------------------------------------------------------------------------------
|
88
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
89
|
+
-----------------------------------------------------------------------------------
|
90
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
91
|
+
[1m[35m (0.0ms)[0m commit transaction
|
92
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
93
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
94
|
+
---------------------------------------------------------------------------------------------------------------------------
|
95
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
96
|
+
---------------------------------------------------------------------------------------------------------------------------
|
97
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
98
|
+
[1m[35m (0.0ms)[0m commit transaction
|
99
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
101
|
+
---------------------------------------------------------------------------------------------------------------------------
|
102
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
103
|
+
---------------------------------------------------------------------------------------------------------------------------
|
104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
105
|
+
[1m[35m (0.0ms)[0m commit transaction
|
106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
107
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
108
|
+
----------------------------------------------------------------------------------------------
|
109
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
110
|
+
----------------------------------------------------------------------------------------------
|
111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
112
|
+
[1m[35m (0.0ms)[0m commit transaction
|
113
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
115
|
+
------------------------------
|
116
|
+
MaestranoRailsTest: test_truth
|
117
|
+
------------------------------
|
118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
119
|
+
[1m[35m (0.0ms)[0m commit transaction
|
120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
121
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
122
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
123
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
124
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m commit transaction
|
127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
128
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
129
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
130
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:38:48.887230"], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-30 23:38:48.887230"]]
|
131
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
132
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
133
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
134
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
135
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
136
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
137
|
+
[1m[35m (0.0ms)[0m commit transaction
|
138
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
140
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:38:48.889358"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:38:48.889358"]]
|
141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
142
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
143
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:38:48.890846"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:38:48.890846"]]
|
145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
146
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
147
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
148
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
149
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
151
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
152
|
+
[1m[35m (0.0ms)[0m begin transaction
|
153
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:38:48.892420"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:38:48.892420"]]
|
155
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
156
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
157
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
158
|
+
---------------------------------------------------------------------------------------------------
|
159
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
160
|
+
---------------------------------------------------------------------------------------------------
|
161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
162
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
164
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
165
|
+
------------------------------------------------------------------------------------------------------------
|
166
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
167
|
+
------------------------------------------------------------------------------------------------------------
|
168
|
+
[1m[35m (0.0ms)[0m begin transaction
|
169
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
171
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
172
|
+
----------------------------------------------------------------------------------------------
|
173
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
174
|
+
----------------------------------------------------------------------------------------------
|
175
|
+
[1m[35m (0.1ms)[0m begin transaction
|
176
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
178
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
179
|
+
-----------------------------------------------------------------------------------------------------------------------
|
180
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
181
|
+
-----------------------------------------------------------------------------------------------------------------------
|
182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
183
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m begin transaction
|
185
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
186
|
+
------------------------------------------------------------------------------------------
|
187
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
188
|
+
------------------------------------------------------------------------------------------
|
189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
192
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
193
|
+
--------------------------------------------------------------------------------------
|
194
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
195
|
+
--------------------------------------------------------------------------------------
|
196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
197
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
199
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
200
|
+
--------------------------------------------------------------------------------------
|
201
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
202
|
+
--------------------------------------------------------------------------------------
|
203
|
+
[1m[35m (0.0ms)[0m begin transaction
|
204
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
205
|
+
[1m[35m (0.0ms)[0m begin transaction
|
206
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
207
|
+
----------------------------------------------------------------------------------
|
208
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
209
|
+
----------------------------------------------------------------------------------
|
210
|
+
[1m[35m (0.0ms)[0m begin transaction
|
211
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
212
|
+
[1m[35m (0.0ms)[0m begin transaction
|
213
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
214
|
+
--------------------------------------------------------------------------------------------------------------------------
|
215
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
216
|
+
--------------------------------------------------------------------------------------------------------------------------
|
217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
218
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
220
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
221
|
+
--------------------------------------------------------------------------------------------------------------------------
|
222
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
223
|
+
--------------------------------------------------------------------------------------------------------------------------
|
224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
225
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
227
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
228
|
+
---------------------------------------------------------------------------------------------
|
229
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
230
|
+
---------------------------------------------------------------------------------------------
|
231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
234
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
235
|
+
-----------------------------------------------------------------
|
236
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
237
|
+
-----------------------------------------------------------------
|
238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
239
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
241
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
242
|
+
Parameters: {"id"=>"cld-1"}
|
243
|
+
Rendered text template (0.0ms)
|
244
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
245
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
246
|
+
-----------------------------------------------------------------
|
247
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
248
|
+
-----------------------------------------------------------------
|
249
|
+
[1m[35m (0.0ms)[0m begin transaction
|
250
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
252
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
253
|
+
Parameters: {"id"=>"cld-1"}
|
254
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
255
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
256
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
257
|
+
--------------------------------------------------------------------------------------------------------
|
258
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
259
|
+
--------------------------------------------------------------------------------------------------------
|
260
|
+
[1m[35m (0.0ms)[0m begin transaction
|
261
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
262
|
+
[1m[35m (0.0ms)[0m begin transaction
|
263
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
264
|
+
--------------------------------------------------------------------------------------------------
|
265
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
266
|
+
--------------------------------------------------------------------------------------------------
|
267
|
+
[1m[35m (0.0ms)[0m begin transaction
|
268
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
269
|
+
[1m[35m (0.0ms)[0m begin transaction
|
270
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
271
|
+
----------------------------------------------------------------------------------------------
|
272
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
273
|
+
----------------------------------------------------------------------------------------------
|
274
|
+
[1m[35m (0.0ms)[0m begin transaction
|
275
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
277
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
278
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
279
|
+
Bla
|
280
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
281
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
282
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
283
|
+
--------------------------------------------------------------------------------------------------------------------
|
284
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
285
|
+
--------------------------------------------------------------------------------------------------------------------
|
286
|
+
[1m[35m (0.0ms)[0m begin transaction
|
287
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
288
|
+
[1m[35m (0.0ms)[0m begin transaction
|
289
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
290
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
291
|
+
Redirected to http://test.host/
|
292
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
293
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
294
|
+
---------------------------------------------------------------------------------
|
295
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
296
|
+
---------------------------------------------------------------------------------
|
297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
298
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
300
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
301
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
302
|
+
Redirected to http://test.host/
|
303
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
304
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
305
|
+
--------------------------------------------------------------------------------------
|
306
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
307
|
+
--------------------------------------------------------------------------------------
|
308
|
+
[1m[35m (0.0ms)[0m begin transaction
|
309
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
311
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
312
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
313
|
+
Redirected to http://test.host/
|
314
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
315
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
316
|
+
-------------------------------------------------------------------------------
|
317
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
318
|
+
-------------------------------------------------------------------------------
|
319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
320
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
321
|
+
[1m[35m (0.0ms)[0m begin transaction
|
322
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
323
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
324
|
+
Redirected to http://test.host/
|
325
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
326
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
327
|
+
-------------------------------------------------------------------------------------
|
328
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
329
|
+
-------------------------------------------------------------------------------------
|
330
|
+
[1m[35m (0.0ms)[0m begin transaction
|
331
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
332
|
+
[1m[35m (0.0ms)[0m begin transaction
|
333
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
334
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
335
|
+
Redirected to http://test.host/
|
336
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
337
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
338
|
+
------------------------------------------------------------------------------------------
|
339
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
340
|
+
------------------------------------------------------------------------------------------
|
341
|
+
[1m[35m (0.0ms)[0m begin transaction
|
342
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
343
|
+
[1m[35m (0.0ms)[0m begin transaction
|
344
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
345
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
346
|
+
Redirected to http://test.host/
|
347
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
348
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
349
|
+
---------------------------------------------------------------------------------------------------------------------------
|
350
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
351
|
+
---------------------------------------------------------------------------------------------------------------------------
|
352
|
+
[1m[35m (0.0ms)[0m begin transaction
|
353
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
354
|
+
[1m[35m (0.0ms)[0m begin transaction
|
355
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
356
|
+
Parameters: {"a_param"=>"value"}
|
357
|
+
Redirected to http://idpprovider.com?r=request
|
358
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
359
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
360
|
+
-----------------------------------------------------------------------------------------------------------------------
|
361
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
362
|
+
-----------------------------------------------------------------------------------------------------------------------
|
363
|
+
[1m[35m (0.0ms)[0m begin transaction
|
364
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
365
|
+
[1m[35m (0.0ms)[0m begin transaction
|
366
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
367
|
+
Parameters: {"a_param"=>"value"}
|
368
|
+
Redirected to http://idpprovider.com?r=request
|
369
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
370
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
371
|
+
-------------------------------------------------------------------
|
372
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
373
|
+
-------------------------------------------------------------------
|
374
|
+
[1m[35m (0.0ms)[0m begin transaction
|
375
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
376
|
+
[1m[35m (0.0ms)[0m begin transaction
|
377
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
378
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
379
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
380
|
+
-------------------------------------------------------------------
|
381
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
382
|
+
-------------------------------------------------------------------
|
383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
384
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
386
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
387
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
388
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
389
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
390
|
+
---------------------------------------------------------------------------------------
|
391
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
392
|
+
---------------------------------------------------------------------------------------
|
393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
394
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
396
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
397
|
+
----------------------------------------------------------------------------------
|
398
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
399
|
+
----------------------------------------------------------------------------------
|
400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
401
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
403
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
404
|
+
----------------------------------------------------------------------------------------------------------
|
405
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
406
|
+
----------------------------------------------------------------------------------------------------------
|
407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
408
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
409
|
+
[1m[35m (0.0ms)[0m begin transaction
|
410
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
411
|
+
-----------------------------------------------------------------------------------------------------
|
412
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
413
|
+
-----------------------------------------------------------------------------------------------------
|
414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
415
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
417
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
418
|
+
------------------------------------------------------------------------------------------------
|
419
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
420
|
+
------------------------------------------------------------------------------------------------
|
421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
422
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
423
|
+
[1m[35m (0.0ms)[0m begin transaction
|
424
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
425
|
+
----------------------------------------------------------------------------------------------------------
|
426
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
427
|
+
----------------------------------------------------------------------------------------------------------
|
428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
429
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
431
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
432
|
+
----------------------------------------------------------------------------------------------------
|
433
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
434
|
+
----------------------------------------------------------------------------------------------------
|
435
|
+
[1m[35m (0.0ms)[0m begin transaction
|
436
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
438
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
439
|
+
---------------------------------------------------------------------
|
440
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
441
|
+
---------------------------------------------------------------------
|
442
|
+
[1m[35m (0.0ms)[0m begin transaction
|
443
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
445
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
446
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
447
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
448
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
449
|
+
---------------------------------------------------------------------
|
450
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
451
|
+
---------------------------------------------------------------------
|
452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
453
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
454
|
+
[1m[35m (0.0ms)[0m begin transaction
|
455
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
456
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
457
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
458
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
459
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
460
|
+
---------------------------------------------------------------------------------------------------------------------
|
461
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
462
|
+
---------------------------------------------------------------------------------------------------------------------
|
463
|
+
[1m[35m (0.1ms)[0m begin transaction
|
464
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
465
|
+
[1m[35m (0.0ms)[0m begin transaction
|
466
|
+
Processing by PagesController#home as HTML
|
467
|
+
Completed 500 Internal Server Error in 9ms
|
468
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
469
|
+
--------------------------------------------------------------------------------------------------------------------
|
470
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
471
|
+
--------------------------------------------------------------------------------------------------------------------
|
472
|
+
[1m[35m (0.0ms)[0m begin transaction
|
473
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
475
|
+
Processing by PagesController#home as HTML
|
476
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
477
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
478
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
479
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
480
|
+
-----------------------------------------------------------------------------------------------------------
|
481
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
482
|
+
-----------------------------------------------------------------------------------------------------------
|
483
|
+
[1m[35m (0.0ms)[0m begin transaction
|
484
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
486
|
+
Processing by PagesController#home as HTML
|
487
|
+
Completed 500 Internal Server Error in 3ms
|
488
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
489
|
+
------------------------------------------------------------------------------
|
490
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
491
|
+
------------------------------------------------------------------------------
|
492
|
+
[1m[35m (0.0ms)[0m begin transaction
|
493
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
495
|
+
Processing by PagesController#home as HTML
|
496
|
+
Completed 500 Internal Server Error in 3ms
|
497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
498
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
499
|
+
-------------------------------------------------------------------
|
500
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
501
|
+
-------------------------------------------------------------------
|
502
|
+
[1m[35m (0.1ms)[0m begin transaction
|
503
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
505
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
506
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
507
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
508
|
+
-------------------------------------------------------------------
|
509
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
510
|
+
-------------------------------------------------------------------
|
511
|
+
[1m[35m (0.0ms)[0m begin transaction
|
512
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
513
|
+
[1m[35m (0.0ms)[0m begin transaction
|
514
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
515
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
516
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
517
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
518
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
519
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
520
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
522
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
524
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
526
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:39:26.101601"], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-30 23:39:26.101601"]]
|
527
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
528
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
529
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
530
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
531
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
532
|
+
[1m[35m (0.0ms)[0m begin transaction
|
533
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
536
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:39:26.105381"], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:39:26.105381"]]
|
537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
538
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
539
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
540
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:39:26.106710"], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-30 23:39:26.106710"]]
|
541
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
542
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
543
|
+
------------------------------------------------------------------------------------------------------------------------------
|
544
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
545
|
+
------------------------------------------------------------------------------------------------------------------------------
|
546
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
547
|
+
[1m[35m (0.0ms)[0m commit transaction
|
548
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
550
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:39:26.108146"], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-30 23:39:26.108146"]]
|
551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
552
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
553
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
554
|
+
----------------------------------------------------------------------------------------------------
|
555
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
556
|
+
----------------------------------------------------------------------------------------------------
|
557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
558
|
+
[1m[35m (0.0ms)[0m commit transaction
|
559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
560
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
561
|
+
-------------------------------------------------------------------------------------------------------------
|
562
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
563
|
+
-------------------------------------------------------------------------------------------------------------
|
564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
565
|
+
[1m[35m (0.0ms)[0m commit transaction
|
566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
567
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
568
|
+
-----------------------------------------------------------------------------------------------
|
569
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
570
|
+
-----------------------------------------------------------------------------------------------
|
571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
572
|
+
[1m[35m (0.0ms)[0m commit transaction
|
573
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
574
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
575
|
+
------------------------------------------------------------------------------------------------------------------------
|
576
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
577
|
+
------------------------------------------------------------------------------------------------------------------------
|
578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
579
|
+
[1m[35m (0.0ms)[0m commit transaction
|
580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
581
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
582
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
583
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
584
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
586
|
+
[1m[35m (0.0ms)[0m commit transaction
|
587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
588
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
590
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:39:26.116169"], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-30 23:39:26.116169"]]
|
591
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
592
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
593
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
594
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
595
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
597
|
+
[1m[35m (0.0ms)[0m commit transaction
|
598
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
599
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
600
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:39:26.118089"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:39:26.118089"]]
|
601
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
602
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
604
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:39:26.119497"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:39:26.119497"]]
|
605
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
606
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
607
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
608
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
609
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
610
|
+
[1m[35m (0.0ms)[0m begin transaction
|
611
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
613
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
614
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:39:26.120835"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:39:26.120835"]]
|
615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
616
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
617
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
618
|
+
---------------------------------------------------------------------------------------------------
|
619
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
620
|
+
---------------------------------------------------------------------------------------------------
|
621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
622
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
624
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
625
|
+
------------------------------------------------------------------------------------------------------------
|
626
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
627
|
+
------------------------------------------------------------------------------------------------------------
|
628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
629
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
631
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
632
|
+
----------------------------------------------------------------------------------------------
|
633
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
634
|
+
----------------------------------------------------------------------------------------------
|
635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
636
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
638
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
639
|
+
-----------------------------------------------------------------------------------------------------------------------
|
640
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
641
|
+
-----------------------------------------------------------------------------------------------------------------------
|
642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
643
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
645
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
646
|
+
---------------------------------------------------------------------------------------------------------------------
|
647
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
648
|
+
---------------------------------------------------------------------------------------------------------------------
|
649
|
+
[1m[35m (0.1ms)[0m begin transaction
|
650
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
651
|
+
[1m[35m (0.0ms)[0m begin transaction
|
652
|
+
Processing by PagesController#home as HTML
|
653
|
+
Completed 200 OK in 24ms (Views: 23.3ms | ActiveRecord: 0.0ms)
|
654
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
655
|
+
--------------------------------------------------------------------------------------------------------------------
|
656
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
657
|
+
--------------------------------------------------------------------------------------------------------------------
|
658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
659
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
660
|
+
[1m[35m (0.1ms)[0m begin transaction
|
661
|
+
Processing by PagesController#home as HTML
|
662
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
663
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
664
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
665
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
666
|
+
-----------------------------------------------------------------------------------------------------------
|
667
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
668
|
+
-----------------------------------------------------------------------------------------------------------
|
669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
670
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
672
|
+
Processing by PagesController#home as HTML
|
673
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
674
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
675
|
+
------------------------------------------------------------------------------
|
676
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
677
|
+
------------------------------------------------------------------------------
|
678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
679
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681
|
+
Processing by PagesController#home as HTML
|
682
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
683
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
684
|
+
----------------------------------------------------------------------------------------------
|
685
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
686
|
+
----------------------------------------------------------------------------------------------
|
687
|
+
[1m[35m (0.0ms)[0m begin transaction
|
688
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
689
|
+
[1m[35m (0.0ms)[0m begin transaction
|
690
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
691
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
692
|
+
Bla
|
693
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
694
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
695
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
696
|
+
--------------------------------------------------------------------------------------------------------------------
|
697
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
698
|
+
--------------------------------------------------------------------------------------------------------------------
|
699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
700
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
701
|
+
[1m[35m (0.0ms)[0m begin transaction
|
702
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
703
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
704
|
+
Redirected to http://test.host/
|
705
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
706
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
707
|
+
---------------------------------------------------------------------------------
|
708
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
709
|
+
---------------------------------------------------------------------------------
|
710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
711
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
712
|
+
[1m[35m (0.0ms)[0m begin transaction
|
713
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
714
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
715
|
+
Redirected to http://test.host/
|
716
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
717
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
718
|
+
--------------------------------------------------------------------------------------
|
719
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
720
|
+
--------------------------------------------------------------------------------------
|
721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
722
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
723
|
+
[1m[35m (0.0ms)[0m begin transaction
|
724
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
725
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
726
|
+
Redirected to http://test.host/
|
727
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
728
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
729
|
+
-------------------------------------------------------------------------------
|
730
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
731
|
+
-------------------------------------------------------------------------------
|
732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
733
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
734
|
+
[1m[35m (0.0ms)[0m begin transaction
|
735
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
736
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
737
|
+
Redirected to http://test.host/
|
738
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
739
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
740
|
+
-------------------------------------------------------------------------------------
|
741
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
742
|
+
-------------------------------------------------------------------------------------
|
743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
744
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
745
|
+
[1m[35m (0.0ms)[0m begin transaction
|
746
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
747
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
748
|
+
Redirected to http://test.host/
|
749
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
750
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
751
|
+
------------------------------------------------------------------------------------------
|
752
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
753
|
+
------------------------------------------------------------------------------------------
|
754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
755
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
757
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
758
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
759
|
+
Redirected to http://test.host/
|
760
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
761
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
762
|
+
---------------------------------------------------------------------------------------------------------------------------
|
763
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
764
|
+
---------------------------------------------------------------------------------------------------------------------------
|
765
|
+
[1m[35m (0.0ms)[0m begin transaction
|
766
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
768
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
769
|
+
Parameters: {"a_param"=>"value"}
|
770
|
+
Redirected to http://idpprovider.com?r=request
|
771
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
772
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
773
|
+
-----------------------------------------------------------------------------------------------------------------------
|
774
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
775
|
+
-----------------------------------------------------------------------------------------------------------------------
|
776
|
+
[1m[35m (0.0ms)[0m begin transaction
|
777
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
779
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
780
|
+
Parameters: {"a_param"=>"value"}
|
781
|
+
Redirected to http://idpprovider.com?r=request
|
782
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
783
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
784
|
+
----------------------------------------------------------------------------------------------------------
|
785
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
786
|
+
----------------------------------------------------------------------------------------------------------
|
787
|
+
[1m[35m (0.0ms)[0m begin transaction
|
788
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
790
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
791
|
+
----------------------------------------------------------------------------------------------------
|
792
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
793
|
+
----------------------------------------------------------------------------------------------------
|
794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
795
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
797
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
798
|
+
-------------------------------------------------------------------------------------------
|
799
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
800
|
+
-------------------------------------------------------------------------------------------
|
801
|
+
[1m[35m (0.1ms)[0m begin transaction
|
802
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
804
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
805
|
+
---------------------------------------------------------------------------------------
|
806
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
807
|
+
---------------------------------------------------------------------------------------
|
808
|
+
[1m[35m (0.1ms)[0m begin transaction
|
809
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
810
|
+
[1m[35m (0.0ms)[0m begin transaction
|
811
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
812
|
+
---------------------------------------------------------------------------------------
|
813
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
814
|
+
---------------------------------------------------------------------------------------
|
815
|
+
[1m[35m (0.0ms)[0m begin transaction
|
816
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
818
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
819
|
+
-----------------------------------------------------------------------------------
|
820
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
821
|
+
-----------------------------------------------------------------------------------
|
822
|
+
[1m[35m (0.0ms)[0m begin transaction
|
823
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
825
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
826
|
+
---------------------------------------------------------------------------------------------------------------------------
|
827
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
828
|
+
---------------------------------------------------------------------------------------------------------------------------
|
829
|
+
[1m[35m (0.0ms)[0m begin transaction
|
830
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
832
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
833
|
+
---------------------------------------------------------------------------------------------------------------------------
|
834
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
835
|
+
---------------------------------------------------------------------------------------------------------------------------
|
836
|
+
[1m[35m (0.0ms)[0m begin transaction
|
837
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
838
|
+
[1m[35m (0.0ms)[0m begin transaction
|
839
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
840
|
+
----------------------------------------------------------------------------------------------
|
841
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
842
|
+
----------------------------------------------------------------------------------------------
|
843
|
+
[1m[35m (0.0ms)[0m begin transaction
|
844
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
845
|
+
[1m[35m (0.0ms)[0m begin transaction
|
846
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
847
|
+
------------------------------------------------------------------------------------------
|
848
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
849
|
+
------------------------------------------------------------------------------------------
|
850
|
+
[1m[35m (0.0ms)[0m begin transaction
|
851
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
853
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
854
|
+
--------------------------------------------------------------------------------------
|
855
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
856
|
+
--------------------------------------------------------------------------------------
|
857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
858
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
859
|
+
[1m[35m (0.0ms)[0m begin transaction
|
860
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
861
|
+
--------------------------------------------------------------------------------------
|
862
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
863
|
+
--------------------------------------------------------------------------------------
|
864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
865
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
867
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
868
|
+
----------------------------------------------------------------------------------
|
869
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
870
|
+
----------------------------------------------------------------------------------
|
871
|
+
[1m[35m (0.0ms)[0m begin transaction
|
872
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
874
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
875
|
+
--------------------------------------------------------------------------------------------------------------------------
|
876
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
877
|
+
--------------------------------------------------------------------------------------------------------------------------
|
878
|
+
[1m[35m (0.0ms)[0m begin transaction
|
879
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
881
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
882
|
+
--------------------------------------------------------------------------------------------------------------------------
|
883
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
884
|
+
--------------------------------------------------------------------------------------------------------------------------
|
885
|
+
[1m[35m (0.0ms)[0m begin transaction
|
886
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
887
|
+
[1m[35m (0.0ms)[0m begin transaction
|
888
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
889
|
+
---------------------------------------------------------------------------------------------
|
890
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
891
|
+
---------------------------------------------------------------------------------------------
|
892
|
+
[1m[35m (0.0ms)[0m begin transaction
|
893
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
894
|
+
[1m[35m (0.0ms)[0m begin transaction
|
895
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
896
|
+
--------------------------------------------------------------------------------------------------------
|
897
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
898
|
+
--------------------------------------------------------------------------------------------------------
|
899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
900
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
901
|
+
[1m[35m (0.0ms)[0m begin transaction
|
902
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
903
|
+
--------------------------------------------------------------------------------------------------
|
904
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
905
|
+
--------------------------------------------------------------------------------------------------
|
906
|
+
[1m[35m (0.0ms)[0m begin transaction
|
907
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
909
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
910
|
+
-----------------------------------------------------------------
|
911
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
912
|
+
-----------------------------------------------------------------
|
913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
914
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
916
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
917
|
+
Parameters: {"id"=>"cld-1"}
|
918
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
919
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
920
|
+
-----------------------------------------------------------------
|
921
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
922
|
+
-----------------------------------------------------------------
|
923
|
+
[1m[35m (0.0ms)[0m begin transaction
|
924
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
925
|
+
[1m[35m (0.0ms)[0m begin transaction
|
926
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
927
|
+
Parameters: {"id"=>"cld-1"}
|
928
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
929
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
930
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
931
|
+
---------------------------------------------------------------------------------------
|
932
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
933
|
+
---------------------------------------------------------------------------------------
|
934
|
+
[1m[35m (0.0ms)[0m begin transaction
|
935
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
938
|
+
----------------------------------------------------------------------------------
|
939
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
940
|
+
----------------------------------------------------------------------------------
|
941
|
+
[1m[35m (0.0ms)[0m begin transaction
|
942
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
944
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
945
|
+
----------------------------------------------------------------------------------------------------------
|
946
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
947
|
+
----------------------------------------------------------------------------------------------------------
|
948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
949
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
950
|
+
[1m[35m (0.0ms)[0m begin transaction
|
951
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
952
|
+
-----------------------------------------------------------------------------------------------------
|
953
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
954
|
+
-----------------------------------------------------------------------------------------------------
|
955
|
+
[1m[35m (0.0ms)[0m begin transaction
|
956
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
958
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
959
|
+
------------------------------------------------------------------------------------------------
|
960
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
961
|
+
------------------------------------------------------------------------------------------------
|
962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
963
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
965
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
966
|
+
------------------------------
|
967
|
+
MaestranoRailsTest: test_truth
|
968
|
+
------------------------------
|
969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
970
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
971
|
+
[1m[35m (0.0ms)[0m begin transaction
|
972
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
973
|
+
---------------------------------------------------------------------
|
974
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
975
|
+
---------------------------------------------------------------------
|
976
|
+
[1m[35m (0.0ms)[0m begin transaction
|
977
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
979
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
980
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
981
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
982
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
983
|
+
---------------------------------------------------------------------
|
984
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
985
|
+
---------------------------------------------------------------------
|
986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
987
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
988
|
+
[1m[35m (0.0ms)[0m begin transaction
|
989
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
990
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
991
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
992
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
993
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
994
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
995
|
+
----------------------------------------------------------------------------------------------
|
996
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
997
|
+
----------------------------------------------------------------------------------------------
|
998
|
+
[1m[35m (0.1ms)[0m begin transaction
|
999
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1001
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1002
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1003
|
+
Bla
|
1004
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
1005
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1006
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1007
|
+
--------------------------------------------------------------------------------------------------------------------
|
1008
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
1009
|
+
--------------------------------------------------------------------------------------------------------------------
|
1010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1011
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1013
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1014
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1015
|
+
Redirected to http://test.host/
|
1016
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1017
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1018
|
+
---------------------------------------------------------------------------------
|
1019
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
1020
|
+
---------------------------------------------------------------------------------
|
1021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1022
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1023
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1024
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1025
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1026
|
+
Redirected to http://test.host/
|
1027
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1028
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1029
|
+
--------------------------------------------------------------------------------------
|
1030
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
1031
|
+
--------------------------------------------------------------------------------------
|
1032
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1033
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1034
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1035
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1036
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1037
|
+
Redirected to http://test.host/
|
1038
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1039
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1040
|
+
-------------------------------------------------------------------------------
|
1041
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
1042
|
+
-------------------------------------------------------------------------------
|
1043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1044
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1046
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1047
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1048
|
+
Redirected to http://test.host/
|
1049
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1050
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1051
|
+
-------------------------------------------------------------------------------------
|
1052
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
1053
|
+
-------------------------------------------------------------------------------------
|
1054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1055
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1056
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1057
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1058
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1059
|
+
Redirected to http://test.host/
|
1060
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1061
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1062
|
+
------------------------------------------------------------------------------------------
|
1063
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
1064
|
+
------------------------------------------------------------------------------------------
|
1065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1066
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1068
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
1069
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
1070
|
+
Redirected to http://test.host/
|
1071
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1072
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1073
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1074
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
1075
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1076
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1077
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1079
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
1080
|
+
Parameters: {"a_param"=>"value"}
|
1081
|
+
Redirected to http://idpprovider.com?r=request
|
1082
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1083
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1084
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1085
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
1086
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1087
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1088
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1090
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
1091
|
+
Parameters: {"a_param"=>"value"}
|
1092
|
+
Redirected to http://idpprovider.com?r=request
|
1093
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1094
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1095
|
+
----------------------------------------------------------------------------------------------------------
|
1096
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
1097
|
+
----------------------------------------------------------------------------------------------------------
|
1098
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1101
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1102
|
+
----------------------------------------------------------------------------------------------------
|
1103
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
1104
|
+
----------------------------------------------------------------------------------------------------
|
1105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1108
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1109
|
+
-----------------------------------------------------------------
|
1110
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
1111
|
+
-----------------------------------------------------------------
|
1112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1113
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1115
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
1116
|
+
Parameters: {"id"=>"cld-1"}
|
1117
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1118
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1119
|
+
-----------------------------------------------------------------
|
1120
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
1121
|
+
-----------------------------------------------------------------
|
1122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1123
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1125
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
1126
|
+
Parameters: {"id"=>"cld-1"}
|
1127
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
1128
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1129
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1130
|
+
------------------------------------------------------------------------------------------
|
1131
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
1132
|
+
------------------------------------------------------------------------------------------
|
1133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1134
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1136
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1137
|
+
--------------------------------------------------------------------------------------
|
1138
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
1139
|
+
--------------------------------------------------------------------------------------
|
1140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1141
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1143
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1144
|
+
--------------------------------------------------------------------------------------
|
1145
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
1146
|
+
--------------------------------------------------------------------------------------
|
1147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1148
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1150
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1151
|
+
----------------------------------------------------------------------------------
|
1152
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
1153
|
+
----------------------------------------------------------------------------------
|
1154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1157
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1158
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1159
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
1160
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1162
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1164
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1165
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1166
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
1167
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1168
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1169
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1171
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1172
|
+
---------------------------------------------------------------------------------------------
|
1173
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
1174
|
+
---------------------------------------------------------------------------------------------
|
1175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1176
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1178
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1179
|
+
-------------------------------------------------------------------
|
1180
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
1181
|
+
-------------------------------------------------------------------
|
1182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1183
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1184
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1185
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
1186
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1187
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1188
|
+
-------------------------------------------------------------------
|
1189
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
1190
|
+
-------------------------------------------------------------------
|
1191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1192
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1194
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
1195
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
1196
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1197
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1198
|
+
--------------------------------------------------------------------------------------------------------
|
1199
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
1200
|
+
--------------------------------------------------------------------------------------------------------
|
1201
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1202
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1203
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1204
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1205
|
+
--------------------------------------------------------------------------------------------------
|
1206
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
1207
|
+
--------------------------------------------------------------------------------------------------
|
1208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1209
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1210
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1211
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1212
|
+
---------------------------------------------------------------------------------------
|
1213
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
1214
|
+
---------------------------------------------------------------------------------------
|
1215
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1216
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1218
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1219
|
+
----------------------------------------------------------------------------------
|
1220
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
1221
|
+
----------------------------------------------------------------------------------
|
1222
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1223
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1225
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1226
|
+
----------------------------------------------------------------------------------------------------------
|
1227
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
1228
|
+
----------------------------------------------------------------------------------------------------------
|
1229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1230
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1232
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1233
|
+
-----------------------------------------------------------------------------------------------------
|
1234
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
1235
|
+
-----------------------------------------------------------------------------------------------------
|
1236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1237
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1239
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1240
|
+
------------------------------------------------------------------------------------------------
|
1241
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
1242
|
+
------------------------------------------------------------------------------------------------
|
1243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1244
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1246
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1247
|
+
------------------------------
|
1248
|
+
MaestranoRailsTest: test_truth
|
1249
|
+
------------------------------
|
1250
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1251
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1252
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1253
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1254
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
1255
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
1256
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
1257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1258
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1260
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
1261
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:40:41.962335"], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-30 23:40:41.962335"]]
|
1263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1264
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1265
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
1266
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
1267
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
1268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1269
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1271
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1272
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:40:41.965802"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:40:41.965802"]]
|
1273
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1274
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
1275
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1276
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 23:40:41.967080"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:40:41.967080"]]
|
1277
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1278
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1279
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
1280
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
1281
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
1282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1283
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:40:41.968474"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:40:41.968474"]]
|
1287
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1288
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
1289
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1290
|
+
---------------------------------------------------------------------------------------------------
|
1291
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
1292
|
+
---------------------------------------------------------------------------------------------------
|
1293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1294
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1296
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1297
|
+
------------------------------------------------------------------------------------------------------------
|
1298
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
1299
|
+
------------------------------------------------------------------------------------------------------------
|
1300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1301
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1303
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1304
|
+
----------------------------------------------------------------------------------------------
|
1305
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
1306
|
+
----------------------------------------------------------------------------------------------
|
1307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1308
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1309
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1311
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1312
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
1313
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1315
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1316
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1318
|
+
---------------------------------------------------------------------------------------------------------------------
|
1319
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
1320
|
+
---------------------------------------------------------------------------------------------------------------------
|
1321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1322
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1324
|
+
Processing by PagesController#home as HTML
|
1325
|
+
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
|
1326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1327
|
+
--------------------------------------------------------------------------------------------------------------------
|
1328
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
1329
|
+
--------------------------------------------------------------------------------------------------------------------
|
1330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1331
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1333
|
+
Processing by PagesController#home as HTML
|
1334
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
1335
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
1336
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1337
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1338
|
+
-----------------------------------------------------------------------------------------------------------
|
1339
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
1340
|
+
-----------------------------------------------------------------------------------------------------------
|
1341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1342
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1344
|
+
Processing by PagesController#home as HTML
|
1345
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1346
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1347
|
+
------------------------------------------------------------------------------
|
1348
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
1349
|
+
------------------------------------------------------------------------------
|
1350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1351
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1353
|
+
Processing by PagesController#home as HTML
|
1354
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1356
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
1357
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
1358
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
1359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1360
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1362
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
1363
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1364
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:40:41.994010"], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-30 23:40:41.994010"]]
|
1365
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1367
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
1368
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
1369
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
1370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1371
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1373
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1374
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:40:41.995821"], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:40:41.995821"]]
|
1375
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1376
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
1377
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1378
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-30 23:40:41.996912"], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-30 23:40:41.996912"]]
|
1379
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1380
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1381
|
+
------------------------------------------------------------------------------------------------------------------------------
|
1382
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
1383
|
+
------------------------------------------------------------------------------------------------------------------------------
|
1384
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1385
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1387
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1388
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-30 23:40:41.998125"], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-30 23:40:41.998125"]]
|
1389
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1390
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
1391
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1392
|
+
----------------------------------------------------------------------------------------------------
|
1393
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
1394
|
+
----------------------------------------------------------------------------------------------------
|
1395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1396
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1398
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1399
|
+
-------------------------------------------------------------------------------------------------------------
|
1400
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
1401
|
+
-------------------------------------------------------------------------------------------------------------
|
1402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1403
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1404
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1405
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1406
|
+
-----------------------------------------------------------------------------------------------
|
1407
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
1408
|
+
-----------------------------------------------------------------------------------------------
|
1409
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1410
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1412
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1413
|
+
------------------------------------------------------------------------------------------------------------------------
|
1414
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
1415
|
+
------------------------------------------------------------------------------------------------------------------------
|
1416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1417
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1419
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1420
|
+
-------------------------------------------------------------------------------------------
|
1421
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
1422
|
+
-------------------------------------------------------------------------------------------
|
1423
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1424
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1425
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1426
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1427
|
+
---------------------------------------------------------------------------------------
|
1428
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
1429
|
+
---------------------------------------------------------------------------------------
|
1430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1431
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1433
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1434
|
+
---------------------------------------------------------------------------------------
|
1435
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
1436
|
+
---------------------------------------------------------------------------------------
|
1437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1438
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1440
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1441
|
+
-----------------------------------------------------------------------------------
|
1442
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
1443
|
+
-----------------------------------------------------------------------------------
|
1444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1445
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1447
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1448
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1449
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
1450
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1452
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1454
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1455
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1456
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
1457
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1459
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1461
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1462
|
+
----------------------------------------------------------------------------------------------
|
1463
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
1464
|
+
----------------------------------------------------------------------------------------------
|
1465
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1466
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1467
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1468
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1469
|
+
---------------------------------------------------------------------
|
1470
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
1471
|
+
---------------------------------------------------------------------
|
1472
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1473
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1475
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1476
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
1477
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1478
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1479
|
+
---------------------------------------------------------------------
|
1480
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
1481
|
+
---------------------------------------------------------------------
|
1482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1483
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1485
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1486
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
1487
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
1488
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1489
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1
1490
|
Connecting to database specified by database.yml
|
2
1491
|
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
3
1492
|
[1m[35m (0.0ms)[0m commit transaction
|
4
1493
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5
|
-
[1m[35mMnoCrew Load (0.
|
1494
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' LIMIT 1
|
6
1495
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7
|
-
[1m[35mSQL (
|
1496
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
8
1497
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9
|
-
[1m[35m (0.
|
1498
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10
1499
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11
1500
|
[1m[35m (0.0ms)[0m commit transaction
|
12
1501
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13
1502
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
14
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at",
|
1503
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
15
1504
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
16
1505
|
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1[0m
|
17
1506
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
18
|
-
[1m[36mSQL (
|
19
|
-
[1m[35m (0.
|
20
|
-
[1m[36m (0.
|
1507
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
1508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1509
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
21
1510
|
[1m[35m (0.0ms)[0m begin transaction
|
22
1511
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23
1512
|
[1m[35m (0.0ms)[0m begin transaction
|
24
1513
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
25
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at",
|
1514
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
26
1515
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
27
|
-
[1m[35mMnoCrew Load (0.
|
28
|
-
[1m[36m (0.
|
1516
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
|
1517
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
29
1518
|
[1m[35m (0.0ms)[0m begin transaction
|
30
1519
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
31
1520
|
[1m[35m (0.0ms)[0m begin transaction
|
@@ -49,30 +1538,30 @@ Connecting to database specified by database.yml
|
|
49
1538
|
[1m[35m (0.0ms)[0m begin transaction
|
50
1539
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
51
1540
|
[1m[35m (0.0ms)[0m begin transaction
|
52
|
-
[1m[36mMnoMonster Load (0.
|
1541
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' LIMIT 1[0m
|
53
1542
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
54
|
-
[1m[36mSQL (0.
|
1543
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
55
1544
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56
|
-
[1m[36m (0.
|
1545
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
57
1546
|
[1m[35m (0.0ms)[0m begin transaction
|
58
1547
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
59
1548
|
[1m[35m (0.0ms)[0m begin transaction
|
60
1549
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
61
|
-
[1m[35mSQL (0.
|
1550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
62
1551
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
63
1552
|
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' LIMIT 1
|
64
1553
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
65
|
-
[1m[35mSQL (0.
|
66
|
-
[1m[36m (0.
|
67
|
-
[1m[35m (0.
|
1554
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["email", nil], ["first_name", nil], ["last_name", nil], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
1555
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1556
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68
1557
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69
1558
|
[1m[35m (0.0ms)[0m commit transaction
|
70
1559
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71
1560
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
72
|
-
[1m[36mSQL (0.
|
1561
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
|
73
1562
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
74
1563
|
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' LIMIT 1[0m
|
75
|
-
[1m[35m (
|
1564
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
76
1565
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
1566
|
[1m[35m (0.0ms)[0m commit transaction
|
78
1567
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
@@ -93,10 +1582,10 @@ Connecting to database specified by database.yml
|
|
93
1582
|
[1m[35m (0.0ms)[0m commit transaction
|
94
1583
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95
1584
|
Processing by PagesController#home as HTML
|
96
|
-
Rendered pages/home.html.erb within layouts/application (
|
97
|
-
Completed 200 OK in
|
1585
|
+
Rendered pages/home.html.erb within layouts/application (0.7ms)
|
1586
|
+
Completed 200 OK in 6.1ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
98
1587
|
[1m[35m (0.0ms)[0m rollback transaction
|
99
|
-
[1m[36m (0.
|
1588
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
100
1589
|
[1m[35m (0.0ms)[0m commit transaction
|
101
1590
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
102
1591
|
Processing by PagesController#home as HTML
|
@@ -108,20 +1597,20 @@ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
|
|
108
1597
|
[1m[35m (0.0ms)[0m commit transaction
|
109
1598
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
1599
|
Processing by PagesController#home as HTML
|
111
|
-
Completed 200 OK in
|
1600
|
+
Completed 200 OK in 0.7ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
112
1601
|
[1m[35m (0.0ms)[0m rollback transaction
|
113
1602
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
1603
|
[1m[35m (0.0ms)[0m commit transaction
|
115
1604
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
116
1605
|
Processing by PagesController#home as HTML
|
117
|
-
Completed 200 OK in 0.
|
1606
|
+
Completed 200 OK in 0.6ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
118
1607
|
[1m[35m (0.0ms)[0m rollback transaction
|
119
1608
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
1609
|
[1m[35m (0.0ms)[0m commit transaction
|
121
1610
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
122
1611
|
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
123
1612
|
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
124
|
-
Completed 200 OK in
|
1613
|
+
Completed 200 OK in 1.0ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
125
1614
|
[1m[35m (0.0ms)[0m rollback transaction
|
126
1615
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
127
1616
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -130,13 +1619,13 @@ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
|
130
1619
|
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
131
1620
|
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
132
1621
|
Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
133
|
-
[1m[35m (0.
|
134
|
-
[1m[36m (0.
|
1622
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1623
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
135
1624
|
[1m[35m (0.0ms)[0m commit transaction
|
136
1625
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
137
1626
|
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
138
1627
|
Parameters: {"id"=>"cld-1"}
|
139
|
-
Completed 200 OK in 0.6ms (Views: 0.
|
1628
|
+
Completed 200 OK in 0.6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
140
1629
|
[1m[35m (0.0ms)[0m rollback transaction
|
141
1630
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
1631
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -150,7 +1639,7 @@ Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
|
150
1639
|
[1m[35m (0.0ms)[0m commit transaction
|
151
1640
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
152
1641
|
Processing by Maestrano::Rails::MetadataController#index as HTML
|
153
|
-
Completed 200 OK in 1.8ms (Views: 0.
|
1642
|
+
Completed 200 OK in 1.8ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
154
1643
|
[1m[35m (0.0ms)[0m rollback transaction
|
155
1644
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
156
1645
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -158,7 +1647,7 @@ Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
|
158
1647
|
Processing by Maestrano::Rails::MetadataController#index as HTML
|
159
1648
|
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
160
1649
|
Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
161
|
-
[1m[35m (0.
|
1650
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
162
1651
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
163
1652
|
[1m[35m (0.0ms)[0m commit transaction
|
164
1653
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
@@ -174,7 +1663,7 @@ Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
|
174
1663
|
Processing by Maestrano::Auth::SamlController#consume as HTML
|
175
1664
|
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
176
1665
|
Redirected to http://test.host/
|
177
|
-
Completed 302 Found in 0.
|
1666
|
+
Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms)
|
178
1667
|
[1m[35m (0.0ms)[0m rollback transaction
|
179
1668
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
180
1669
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -182,7 +1671,7 @@ Completed 302 Found in 0.6ms (ActiveRecord: 0.0ms)
|
|
182
1671
|
Processing by Maestrano::Auth::SamlController#consume as HTML
|
183
1672
|
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
184
1673
|
Redirected to http://test.host/
|
185
|
-
Completed 302 Found in 0.
|
1674
|
+
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
186
1675
|
[1m[35m (0.0ms)[0m rollback transaction
|
187
1676
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
188
1677
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -190,7 +1679,7 @@ Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
|
190
1679
|
Processing by Maestrano::Auth::SamlController#consume as HTML
|
191
1680
|
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
192
1681
|
Redirected to http://test.host/
|
193
|
-
Completed 302 Found in 0.
|
1682
|
+
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
194
1683
|
[1m[35m (0.0ms)[0m rollback transaction
|
195
1684
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
196
1685
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -206,7 +1695,7 @@ Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
|
206
1695
|
Processing by Maestrano::Auth::SamlController#consume as HTML
|
207
1696
|
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
208
1697
|
Redirected to http://test.host/
|
209
|
-
Completed 302 Found in 0.
|
1698
|
+
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
210
1699
|
[1m[35m (0.0ms)[0m rollback transaction
|
211
1700
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
212
1701
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -251,10 +1740,6 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
|
|
251
1740
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
1741
|
[1m[35m (0.0ms)[0m commit transaction
|
253
1742
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
254
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
255
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
256
|
-
[1m[35m (0.0ms)[0m commit transaction
|
257
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
258
1743
|
[1m[35m (0.0ms)[0m rollback transaction
|
259
1744
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
260
1745
|
[1m[35m (0.0ms)[0m commit transaction
|
@@ -295,7 +1780,7 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
|
|
295
1780
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
296
1781
|
[1m[35m (0.0ms)[0m commit transaction
|
297
1782
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
298
|
-
[1m[35m (0.
|
1783
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
299
1784
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
300
1785
|
[1m[35m (0.0ms)[0m commit transaction
|
301
1786
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
@@ -303,7 +1788,7 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
|
|
303
1788
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
304
1789
|
[1m[35m (0.0ms)[0m commit transaction
|
305
1790
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
306
|
-
[1m[35m (0.
|
1791
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
307
1792
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
308
1793
|
[1m[35m (0.0ms)[0m commit transaction
|
309
1794
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
@@ -324,442 +1809,593 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
|
|
324
1809
|
[1m[35m (0.0ms)[0m commit transaction
|
325
1810
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
326
1811
|
[1m[35m (0.0ms)[0m rollback transaction
|
327
|
-
Connecting to database specified by database.yml
|
328
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
329
|
-
[1m[35m (0.0ms)[0m commit transaction
|
330
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
331
|
-
[1m[35mMnoCrew Load (0.0ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' LIMIT 1
|
332
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
333
|
-
[1m[35mSQL (3.9ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
|
334
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
335
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
336
1812
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
337
1813
|
[1m[35m (0.0ms)[0m commit transaction
|
338
1814
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339
|
-
[1m[35m (0.
|
340
|
-
[1m[
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
[1m[
|
345
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
346
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
347
|
-
[1m[35m (0.0ms)[0m begin transaction
|
348
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
349
|
-
[1m[35m (0.0ms)[0m begin transaction
|
350
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
351
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
|
352
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
353
|
-
[1m[35mMnoCrew Load (0.0ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
|
354
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
355
|
-
[1m[35m (0.0ms)[0m begin transaction
|
356
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
357
|
-
[1m[35m (0.0ms)[0m begin transaction
|
358
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
359
|
-
[1m[35m (0.0ms)[0m begin transaction
|
360
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
361
|
-
[1m[35m (0.0ms)[0m begin transaction
|
362
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
363
|
-
[1m[35m (0.0ms)[0m begin transaction
|
364
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
365
|
-
[1m[35m (0.0ms)[0m begin transaction
|
366
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
367
|
-
[1m[35m (0.0ms)[0m begin transaction
|
368
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
369
|
-
[1m[35m (0.0ms)[0m begin transaction
|
370
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
371
|
-
[1m[35m (0.0ms)[0m begin transaction
|
372
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
373
|
-
[1m[35m (0.0ms)[0m begin transaction
|
374
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
375
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1815
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1816
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1817
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
1818
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
1819
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
1820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
376
1821
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
377
1822
|
[1m[35m (0.0ms)[0m begin transaction
|
378
|
-
[1m[36mMnoMonster Load (0.
|
1823
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
379
1824
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
380
|
-
[1m[36mSQL (0.
|
1825
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 00:01:10.816493"], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-31 00:01:10.816493"]]
|
381
1826
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
382
|
-
[1m[36m (0.
|
1827
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1828
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
1829
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
1830
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
383
1831
|
[1m[35m (0.0ms)[0m begin transaction
|
384
1832
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
385
1833
|
[1m[35m (0.0ms)[0m begin transaction
|
386
1834
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
387
|
-
[1m[35mSQL (0.
|
1835
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-31 00:01:10.819653"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-31 00:01:10.819653"]]
|
388
1836
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
389
|
-
[1m[35mMnoMonster Load (0.
|
1837
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
390
1838
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
391
|
-
[1m[35mSQL (0.
|
1839
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-31 00:01:10.821062"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-31 00:01:10.821062"]]
|
392
1840
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
393
|
-
[1m[35m (0.
|
1841
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1842
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
1843
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
1844
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
394
1845
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
395
1846
|
[1m[35m (0.0ms)[0m commit transaction
|
396
1847
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
397
|
-
[1m[35m (0.
|
398
|
-
[1m[36mSQL (0.
|
1848
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1849
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 00:01:10.822815"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-31 00:01:10.822815"]]
|
399
1850
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
400
|
-
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT
|
401
|
-
[1m[35m (0.
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
406
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
407
|
-
[1m[35m (0.0ms)[0m commit transaction
|
408
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
409
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
410
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
411
|
-
[1m[35m (0.0ms)[0m commit transaction
|
412
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
413
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
1851
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
1852
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1853
|
+
---------------------------------------------------------------------------------------------------
|
1854
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
1855
|
+
---------------------------------------------------------------------------------------------------
|
414
1856
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
415
1857
|
[1m[35m (0.0ms)[0m commit transaction
|
416
|
-
[1m[36m (0.
|
1858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
417
1859
|
[1m[35m (0.0ms)[0m rollback transaction
|
1860
|
+
------------------------------------------------------------------------------------------------------------
|
1861
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
1862
|
+
------------------------------------------------------------------------------------------------------------
|
418
1863
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
419
1864
|
[1m[35m (0.0ms)[0m commit transaction
|
420
1865
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
421
|
-
Processing by PagesController#home as HTML
|
422
|
-
Rendered pages/home.html.erb within layouts/application (1.5ms)
|
423
|
-
Completed 200 OK in 10.7ms (Views: 10.3ms | ActiveRecord: 0.0ms)
|
424
1866
|
[1m[35m (0.0ms)[0m rollback transaction
|
1867
|
+
----------------------------------------------------------------------------------------------
|
1868
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
1869
|
+
----------------------------------------------------------------------------------------------
|
425
1870
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
426
1871
|
[1m[35m (0.0ms)[0m commit transaction
|
427
1872
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
428
|
-
Processing by PagesController#home as HTML
|
429
|
-
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
430
|
-
Filter chain halted as :verify_maestrano_session rendered or redirected
|
431
|
-
Completed 302 Found in 0.2ms (ActiveRecord: 0.0ms)
|
432
1873
|
[1m[35m (0.0ms)[0m rollback transaction
|
1874
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1875
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
1876
|
+
-----------------------------------------------------------------------------------------------------------------------
|
433
1877
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
434
1878
|
[1m[35m (0.0ms)[0m commit transaction
|
435
1879
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
436
|
-
Processing by PagesController#home as HTML
|
437
|
-
Completed 200 OK in 0.7ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
438
1880
|
[1m[35m (0.0ms)[0m rollback transaction
|
1881
|
+
--------------------------------------------------------------------------------------------------------
|
1882
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
1883
|
+
--------------------------------------------------------------------------------------------------------
|
439
1884
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
440
1885
|
[1m[35m (0.0ms)[0m commit transaction
|
441
1886
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
442
|
-
Processing by PagesController#home as HTML
|
443
|
-
Completed 200 OK in 0.7ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
444
1887
|
[1m[35m (0.0ms)[0m rollback transaction
|
1888
|
+
--------------------------------------------------------------------------------------------------
|
1889
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
1890
|
+
--------------------------------------------------------------------------------------------------
|
445
1891
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
446
1892
|
[1m[35m (0.0ms)[0m commit transaction
|
447
1893
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
1894
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1895
|
+
------------------------------------------------------------------------------------------
|
1896
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
1897
|
+
------------------------------------------------------------------------------------------
|
452
1898
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
453
1899
|
[1m[35m (0.0ms)[0m commit transaction
|
454
1900
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
455
|
-
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
456
|
-
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
457
|
-
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
458
|
-
Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
459
1901
|
[1m[35m (0.0ms)[0m rollback transaction
|
1902
|
+
--------------------------------------------------------------------------------------
|
1903
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
1904
|
+
--------------------------------------------------------------------------------------
|
460
1905
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
461
1906
|
[1m[35m (0.0ms)[0m commit transaction
|
462
1907
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
463
|
-
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
464
|
-
Parameters: {"id"=>"cld-1"}
|
465
|
-
Completed 200 OK in 0.6ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
466
1908
|
[1m[35m (0.0ms)[0m rollback transaction
|
1909
|
+
--------------------------------------------------------------------------------------
|
1910
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
1911
|
+
--------------------------------------------------------------------------------------
|
467
1912
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
468
1913
|
[1m[35m (0.0ms)[0m commit transaction
|
469
1914
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
470
|
-
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
471
|
-
Parameters: {"id"=>"cld-1"}
|
472
|
-
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
473
|
-
Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
474
1915
|
[1m[35m (0.0ms)[0m rollback transaction
|
1916
|
+
----------------------------------------------------------------------------------
|
1917
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
1918
|
+
----------------------------------------------------------------------------------
|
475
1919
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
476
1920
|
[1m[35m (0.0ms)[0m commit transaction
|
477
1921
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
478
|
-
Processing by Maestrano::Rails::MetadataController#index as HTML
|
479
|
-
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
480
1922
|
[1m[35m (0.0ms)[0m rollback transaction
|
1923
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1924
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
1925
|
+
--------------------------------------------------------------------------------------------------------------------------
|
481
1926
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
482
1927
|
[1m[35m (0.0ms)[0m commit transaction
|
483
1928
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
484
|
-
Processing by Maestrano::Rails::MetadataController#index as HTML
|
485
|
-
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
486
|
-
Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
487
1929
|
[1m[35m (0.0ms)[0m rollback transaction
|
1930
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1931
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
1932
|
+
--------------------------------------------------------------------------------------------------------------------------
|
488
1933
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
489
1934
|
[1m[35m (0.0ms)[0m commit transaction
|
490
1935
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
491
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
492
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
493
|
-
Bla
|
494
|
-
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
495
|
-
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
496
1936
|
[1m[35m (0.0ms)[0m rollback transaction
|
1937
|
+
---------------------------------------------------------------------------------------------
|
1938
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
1939
|
+
---------------------------------------------------------------------------------------------
|
497
1940
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
498
1941
|
[1m[35m (0.0ms)[0m commit transaction
|
499
1942
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
500
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
501
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
502
|
-
Redirected to http://test.host/
|
503
|
-
Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
|
504
1943
|
[1m[35m (0.0ms)[0m rollback transaction
|
1944
|
+
---------------------------------------------------------------------------------------
|
1945
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
1946
|
+
---------------------------------------------------------------------------------------
|
505
1947
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
506
1948
|
[1m[35m (0.0ms)[0m commit transaction
|
507
1949
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
508
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
509
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
510
|
-
Redirected to http://test.host/
|
511
|
-
Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
512
1950
|
[1m[35m (0.0ms)[0m rollback transaction
|
513
|
-
|
1951
|
+
----------------------------------------------------------------------------------
|
1952
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
1953
|
+
----------------------------------------------------------------------------------
|
1954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
514
1955
|
[1m[35m (0.0ms)[0m commit transaction
|
515
1956
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
516
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
517
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
518
|
-
Redirected to http://test.host/
|
519
|
-
Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
520
1957
|
[1m[35m (0.0ms)[0m rollback transaction
|
1958
|
+
----------------------------------------------------------------------------------------------------------
|
1959
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
1960
|
+
----------------------------------------------------------------------------------------------------------
|
521
1961
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
522
1962
|
[1m[35m (0.0ms)[0m commit transaction
|
523
1963
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
524
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
525
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
526
|
-
Redirected to http://test.host/
|
527
|
-
Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
528
1964
|
[1m[35m (0.0ms)[0m rollback transaction
|
1965
|
+
-----------------------------------------------------------------------------------------------------
|
1966
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
1967
|
+
-----------------------------------------------------------------------------------------------------
|
529
1968
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
530
1969
|
[1m[35m (0.0ms)[0m commit transaction
|
531
1970
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
532
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
533
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
534
|
-
Redirected to http://test.host/
|
535
|
-
Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
536
1971
|
[1m[35m (0.0ms)[0m rollback transaction
|
1972
|
+
------------------------------------------------------------------------------------------------
|
1973
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
1974
|
+
------------------------------------------------------------------------------------------------
|
537
1975
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
538
1976
|
[1m[35m (0.0ms)[0m commit transaction
|
539
1977
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
540
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
541
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
542
|
-
Redirected to http://test.host/
|
543
|
-
Completed 302 Found in 0.4ms (ActiveRecord: 0.0ms)
|
544
1978
|
[1m[35m (0.0ms)[0m rollback transaction
|
1979
|
+
---------------------------------------------------------------------
|
1980
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
1981
|
+
---------------------------------------------------------------------
|
545
1982
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
546
1983
|
[1m[35m (0.0ms)[0m commit transaction
|
547
1984
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
548
|
-
Processing by Maestrano::
|
549
|
-
Parameters: {"
|
550
|
-
|
551
|
-
Completed
|
1985
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1986
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
1987
|
+
Rendered text template (0.0ms)
|
1988
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
552
1989
|
[1m[35m (0.0ms)[0m rollback transaction
|
1990
|
+
---------------------------------------------------------------------
|
1991
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
1992
|
+
---------------------------------------------------------------------
|
553
1993
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
554
1994
|
[1m[35m (0.0ms)[0m commit transaction
|
555
1995
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
556
|
-
Processing by Maestrano::
|
557
|
-
Parameters: {"
|
558
|
-
|
559
|
-
Completed
|
1996
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1997
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
1998
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
1999
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
560
2000
|
[1m[35m (0.0ms)[0m rollback transaction
|
2001
|
+
-------------------------------------------------------------------------------------------
|
2002
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
2003
|
+
-------------------------------------------------------------------------------------------
|
561
2004
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
562
2005
|
[1m[35m (0.0ms)[0m commit transaction
|
563
2006
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
564
|
-
[1m[35m (0.
|
2007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2008
|
+
---------------------------------------------------------------------------------------
|
2009
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
2010
|
+
---------------------------------------------------------------------------------------
|
565
2011
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
566
2012
|
[1m[35m (0.0ms)[0m commit transaction
|
567
2013
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
568
2014
|
[1m[35m (0.0ms)[0m rollback transaction
|
2015
|
+
---------------------------------------------------------------------------------------
|
2016
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
2017
|
+
---------------------------------------------------------------------------------------
|
569
2018
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
570
2019
|
[1m[35m (0.0ms)[0m commit transaction
|
571
2020
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
572
|
-
[1m[35m (0.
|
2021
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2022
|
+
-----------------------------------------------------------------------------------
|
2023
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
2024
|
+
-----------------------------------------------------------------------------------
|
573
2025
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
574
2026
|
[1m[35m (0.0ms)[0m commit transaction
|
575
2027
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
576
2028
|
[1m[35m (0.0ms)[0m rollback transaction
|
2029
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2030
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
2031
|
+
---------------------------------------------------------------------------------------------------------------------------
|
577
2032
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
578
2033
|
[1m[35m (0.0ms)[0m commit transaction
|
579
2034
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
580
2035
|
[1m[35m (0.1ms)[0m rollback transaction
|
2036
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2037
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
2038
|
+
---------------------------------------------------------------------------------------------------------------------------
|
581
2039
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
582
2040
|
[1m[35m (0.0ms)[0m commit transaction
|
583
2041
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
584
2042
|
[1m[35m (0.0ms)[0m rollback transaction
|
585
|
-
|
2043
|
+
----------------------------------------------------------------------------------------------
|
2044
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
2045
|
+
----------------------------------------------------------------------------------------------
|
2046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
586
2047
|
[1m[35m (0.0ms)[0m commit transaction
|
587
2048
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
588
2049
|
[1m[35m (0.0ms)[0m rollback transaction
|
2050
|
+
------------------------------
|
2051
|
+
MaestranoRailsTest: test_truth
|
2052
|
+
------------------------------
|
589
2053
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
590
2054
|
[1m[35m (0.0ms)[0m commit transaction
|
591
2055
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
592
2056
|
[1m[35m (0.0ms)[0m rollback transaction
|
2057
|
+
----------------------------------------------------------------------------------------------------------
|
2058
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
2059
|
+
----------------------------------------------------------------------------------------------------------
|
593
2060
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
594
2061
|
[1m[35m (0.0ms)[0m commit transaction
|
595
2062
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
596
2063
|
[1m[35m (0.0ms)[0m rollback transaction
|
2064
|
+
----------------------------------------------------------------------------------------------------
|
2065
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
2066
|
+
----------------------------------------------------------------------------------------------------
|
597
2067
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
598
2068
|
[1m[35m (0.0ms)[0m commit transaction
|
599
2069
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
600
|
-
[1m[35m (0.
|
2070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2071
|
+
---------------------------------------------------------------------------------------------------------------------
|
2072
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
2073
|
+
---------------------------------------------------------------------------------------------------------------------
|
601
2074
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
602
2075
|
[1m[35m (0.0ms)[0m commit transaction
|
603
2076
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
604
|
-
|
2077
|
+
Processing by PagesController#home as HTML
|
2078
|
+
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
|
2079
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2080
|
+
--------------------------------------------------------------------------------------------------------------------
|
2081
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
2082
|
+
--------------------------------------------------------------------------------------------------------------------
|
605
2083
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
606
2084
|
[1m[35m (0.0ms)[0m commit transaction
|
607
2085
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
608
|
-
|
2086
|
+
Processing by PagesController#home as HTML
|
2087
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
2088
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
2089
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2090
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2091
|
+
-----------------------------------------------------------------------------------------------------------
|
2092
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
2093
|
+
-----------------------------------------------------------------------------------------------------------
|
609
2094
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
610
2095
|
[1m[35m (0.0ms)[0m commit transaction
|
611
2096
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2097
|
+
Processing by PagesController#home as HTML
|
2098
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
612
2099
|
[1m[35m (0.0ms)[0m rollback transaction
|
2100
|
+
------------------------------------------------------------------------------
|
2101
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
2102
|
+
------------------------------------------------------------------------------
|
613
2103
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
614
2104
|
[1m[35m (0.0ms)[0m commit transaction
|
615
2105
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2106
|
+
Processing by PagesController#home as HTML
|
2107
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
616
2108
|
[1m[35m (0.0ms)[0m rollback transaction
|
2109
|
+
----------------------------------------------------------------------------------------------
|
2110
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
2111
|
+
----------------------------------------------------------------------------------------------
|
617
2112
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
618
2113
|
[1m[35m (0.0ms)[0m commit transaction
|
619
2114
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2115
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2116
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2117
|
+
Bla
|
2118
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
2119
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
620
2120
|
[1m[35m (0.0ms)[0m rollback transaction
|
2121
|
+
--------------------------------------------------------------------------------------------------------------------
|
2122
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
2123
|
+
--------------------------------------------------------------------------------------------------------------------
|
621
2124
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
622
2125
|
[1m[35m (0.0ms)[0m commit transaction
|
623
2126
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2127
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2128
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2129
|
+
Redirected to http://test.host/
|
2130
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
624
2131
|
[1m[35m (0.0ms)[0m rollback transaction
|
2132
|
+
---------------------------------------------------------------------------------
|
2133
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
2134
|
+
---------------------------------------------------------------------------------
|
625
2135
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
626
2136
|
[1m[35m (0.0ms)[0m commit transaction
|
627
2137
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
628
|
-
|
2138
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2139
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2140
|
+
Redirected to http://test.host/
|
2141
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2142
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2143
|
+
--------------------------------------------------------------------------------------
|
2144
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
2145
|
+
--------------------------------------------------------------------------------------
|
629
2146
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
630
2147
|
[1m[35m (0.0ms)[0m commit transaction
|
631
2148
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2149
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2150
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2151
|
+
Redirected to http://test.host/
|
2152
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
632
2153
|
[1m[35m (0.0ms)[0m rollback transaction
|
2154
|
+
-------------------------------------------------------------------------------
|
2155
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
2156
|
+
-------------------------------------------------------------------------------
|
633
2157
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
634
|
-
[1m[35m (0.
|
2158
|
+
[1m[35m (0.1ms)[0m commit transaction
|
635
2159
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2160
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2161
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2162
|
+
Redirected to http://test.host/
|
2163
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
636
2164
|
[1m[35m (0.0ms)[0m rollback transaction
|
2165
|
+
-------------------------------------------------------------------------------------
|
2166
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
2167
|
+
-------------------------------------------------------------------------------------
|
637
2168
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
638
2169
|
[1m[35m (0.0ms)[0m commit transaction
|
639
2170
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
640
|
-
|
2171
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2172
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2173
|
+
Redirected to http://test.host/
|
2174
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2176
|
+
------------------------------------------------------------------------------------------
|
2177
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
2178
|
+
------------------------------------------------------------------------------------------
|
641
2179
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
642
2180
|
[1m[35m (0.0ms)[0m commit transaction
|
643
2181
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
644
|
-
|
2182
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2183
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2184
|
+
Redirected to http://test.host/
|
2185
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2187
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2188
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
2189
|
+
---------------------------------------------------------------------------------------------------------------------------
|
645
2190
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
646
2191
|
[1m[35m (0.0ms)[0m commit transaction
|
647
2192
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2193
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
2194
|
+
Parameters: {"a_param"=>"value"}
|
2195
|
+
Redirected to http://idpprovider.com?r=request
|
2196
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
648
2197
|
[1m[35m (0.0ms)[0m rollback transaction
|
2198
|
+
-----------------------------------------------------------------------------------------------------------------------
|
2199
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
2200
|
+
-----------------------------------------------------------------------------------------------------------------------
|
649
2201
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
650
2202
|
[1m[35m (0.0ms)[0m commit transaction
|
651
2203
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2204
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
2205
|
+
Parameters: {"a_param"=>"value"}
|
2206
|
+
Redirected to http://idpprovider.com?r=request
|
2207
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
652
2208
|
[1m[35m (0.0ms)[0m rollback transaction
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
[1m[35m (0.
|
2209
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
2210
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
2211
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
2212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2213
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2215
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
2216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 00:01:10.981561"], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-31 00:01:10.981561"]]
|
2218
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2219
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2220
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
2221
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
2222
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
2223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2224
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2226
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2227
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 00:01:10.983345"], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-31 00:01:10.983345"]]
|
2228
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2229
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
2230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 00:01:10.984547"], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-31 00:01:10.984547"]]
|
2232
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2233
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2234
|
+
------------------------------------------------------------------------------------------------------------------------------
|
2235
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
2236
|
+
------------------------------------------------------------------------------------------------------------------------------
|
2237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
658
2238
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
659
2239
|
[1m[35m (0.0ms)[0m begin transaction
|
660
|
-
|
661
|
-
|
662
|
-
|
2240
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2241
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 00:01:10.985779"], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-31 00:01:10.985779"]]
|
2242
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2243
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
663
2244
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
664
|
-
|
665
|
-
|
666
|
-
|
2245
|
+
----------------------------------------------------------------------------------------------------
|
2246
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
2247
|
+
----------------------------------------------------------------------------------------------------
|
667
2248
|
[1m[35m (0.0ms)[0m begin transaction
|
668
2249
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
669
2250
|
[1m[35m (0.0ms)[0m begin transaction
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
[1m[
|
675
|
-
-----------------------------------------------------------------------------------------------------------
|
676
|
-
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
677
|
-
-----------------------------------------------------------------------------------------------------------
|
678
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2251
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2252
|
+
-------------------------------------------------------------------------------------------------------------
|
2253
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
2254
|
+
-------------------------------------------------------------------------------------------------------------
|
2255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
679
2256
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
680
|
-
[1m[35m (0.
|
681
|
-
Processing by PagesController#home as HTML
|
682
|
-
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
2257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
683
2258
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
684
|
-
|
685
|
-
|
686
|
-
|
2259
|
+
-----------------------------------------------------------------------------------------------
|
2260
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
2261
|
+
-----------------------------------------------------------------------------------------------
|
2262
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2263
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
687
2264
|
[1m[35m (0.0ms)[0m begin transaction
|
688
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
689
|
-
[1m[35m (0.1ms)[0m begin transaction
|
690
|
-
Processing by PagesController#home as HTML
|
691
|
-
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
692
2265
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
693
|
-
|
694
|
-
|
695
|
-
|
2266
|
+
------------------------------------------------------------------------------------------------------------------------
|
2267
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
2268
|
+
------------------------------------------------------------------------------------------------------------------------
|
696
2269
|
[1m[35m (0.0ms)[0m begin transaction
|
697
2270
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
698
2271
|
[1m[35m (0.0ms)[0m begin transaction
|
699
|
-
[1m[
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
704
|
-
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
705
|
-
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
706
|
-
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
2272
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2273
|
+
-------------------------------------------------------------------
|
2274
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
2275
|
+
-------------------------------------------------------------------
|
707
2276
|
[1m[35m (0.0ms)[0m begin transaction
|
708
2277
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
709
2278
|
[1m[35m (0.0ms)[0m begin transaction
|
710
|
-
|
711
|
-
|
712
|
-
[1m[36m (0.0ms)[0m [
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
[1m[
|
717
|
-
[1m[
|
718
|
-
|
719
|
-
|
720
|
-
|
2279
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
2280
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2281
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2282
|
+
-------------------------------------------------------------------
|
2283
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
2284
|
+
-------------------------------------------------------------------
|
2285
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2286
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2287
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2288
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
2289
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
2290
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2291
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2292
|
+
-----------------------------------------------------------------
|
2293
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
2294
|
+
-----------------------------------------------------------------
|
2295
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2296
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2298
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
2299
|
+
Parameters: {"id"=>"cld-1"}
|
2300
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2301
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2302
|
+
-----------------------------------------------------------------
|
2303
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
2304
|
+
-----------------------------------------------------------------
|
2305
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2306
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2308
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
2309
|
+
Parameters: {"id"=>"cld-1"}
|
2310
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
2311
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2312
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2313
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2314
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2315
|
+
-------------------------------------------------------------------------------------------
|
2316
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
2317
|
+
-------------------------------------------------------------------------------------------
|
2318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2319
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2321
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2322
|
+
---------------------------------------------------------------------------------------
|
2323
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
2324
|
+
---------------------------------------------------------------------------------------
|
721
2325
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
722
2326
|
[1m[35m (0.0ms)[0m commit transaction
|
723
2327
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
724
|
-
[1m[35m (0.0ms)[0m
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
729
|
-
---------------------------------------------------------------------------------------------------
|
730
|
-
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
731
|
-
---------------------------------------------------------------------------------------------------
|
2328
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2329
|
+
---------------------------------------------------------------------------------------
|
2330
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
2331
|
+
---------------------------------------------------------------------------------------
|
732
2332
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
733
2333
|
[1m[35m (0.0ms)[0m commit transaction
|
734
2334
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
735
2335
|
[1m[35m (0.0ms)[0m rollback transaction
|
736
|
-
|
737
|
-
|
738
|
-
|
2336
|
+
-----------------------------------------------------------------------------------
|
2337
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
2338
|
+
-----------------------------------------------------------------------------------
|
2339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2340
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2342
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2343
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2344
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
2345
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2347
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2349
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2350
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2351
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
2352
|
+
---------------------------------------------------------------------------------------------------------------------------
|
739
2353
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
740
2354
|
[1m[35m (0.0ms)[0m commit transaction
|
741
2355
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
742
2356
|
[1m[35m (0.0ms)[0m rollback transaction
|
743
2357
|
----------------------------------------------------------------------------------------------
|
744
|
-
|
2358
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
745
2359
|
----------------------------------------------------------------------------------------------
|
746
2360
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
2361
|
[1m[35m (0.0ms)[0m commit transaction
|
748
2362
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
749
2363
|
[1m[35m (0.0ms)[0m rollback transaction
|
750
|
-
|
751
|
-
|
752
|
-
|
2364
|
+
----------------------------------------------------------------------------------------------------------
|
2365
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
2366
|
+
----------------------------------------------------------------------------------------------------------
|
2367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2368
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2370
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2371
|
+
----------------------------------------------------------------------------------------------------
|
2372
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
2373
|
+
----------------------------------------------------------------------------------------------------
|
753
2374
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
754
2375
|
[1m[35m (0.0ms)[0m commit transaction
|
755
2376
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
756
2377
|
[1m[35m (0.0ms)[0m rollback transaction
|
757
|
-
|
758
|
-
|
759
|
-
|
2378
|
+
-----------------------------------------------------------------
|
2379
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
2380
|
+
-----------------------------------------------------------------
|
2381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2382
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2384
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
2385
|
+
Parameters: {"id"=>"cld-1"}
|
2386
|
+
Rendered text template (0.0ms)
|
2387
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
2388
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2389
|
+
-----------------------------------------------------------------
|
2390
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
2391
|
+
-----------------------------------------------------------------
|
760
2392
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
761
2393
|
[1m[35m (0.0ms)[0m commit transaction
|
762
2394
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2395
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
2396
|
+
Parameters: {"id"=>"cld-1"}
|
2397
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
2398
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
763
2399
|
[1m[35m (0.0ms)[0m rollback transaction
|
764
2400
|
---------------------------------------------------------------------------------------
|
765
2401
|
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
@@ -767,14 +2403,14 @@ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initia
|
|
767
2403
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
768
2404
|
[1m[35m (0.0ms)[0m commit transaction
|
769
2405
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
-
[1m[35m (0.
|
2406
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
771
2407
|
----------------------------------------------------------------------------------
|
772
2408
|
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
773
2409
|
----------------------------------------------------------------------------------
|
774
2410
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
775
|
-
[1m[35m (0.
|
2411
|
+
[1m[35m (0.0ms)[0m commit transaction
|
776
2412
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
777
|
-
[1m[35m (0.
|
2413
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
778
2414
|
----------------------------------------------------------------------------------------------------------
|
779
2415
|
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
780
2416
|
----------------------------------------------------------------------------------------------------------
|
@@ -785,145 +2421,99 @@ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/accoun
|
|
785
2421
|
-----------------------------------------------------------------------------------------------------
|
786
2422
|
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
787
2423
|
-----------------------------------------------------------------------------------------------------
|
788
|
-
[1m[36m (0.
|
2424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
789
2425
|
[1m[35m (0.0ms)[0m commit transaction
|
790
2426
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
791
2427
|
[1m[35m (0.1ms)[0m rollback transaction
|
792
2428
|
------------------------------------------------------------------------------------------------
|
793
2429
|
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
794
2430
|
------------------------------------------------------------------------------------------------
|
795
|
-
[1m[36m (0.
|
2431
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
796
2432
|
[1m[35m (0.0ms)[0m commit transaction
|
797
2433
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
798
|
-
[1m[35m (0.
|
799
|
-
|
800
|
-
|
801
|
-
|
2434
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2435
|
+
------------------------------
|
2436
|
+
MaestranoRailsTest: test_truth
|
2437
|
+
------------------------------
|
802
2438
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
803
2439
|
[1m[35m (0.0ms)[0m commit transaction
|
804
2440
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
805
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
806
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
807
|
-
Bla
|
808
|
-
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
809
|
-
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
810
2441
|
[1m[35m (0.0ms)[0m rollback transaction
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
[1m[36m (0.
|
815
|
-
[1m[35m (0.
|
2442
|
+
-------------------------------------------------------------------
|
2443
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
2444
|
+
-------------------------------------------------------------------
|
2445
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2446
|
+
[1m[35m (0.1ms)[0m commit transaction
|
816
2447
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
817
|
-
Processing by Maestrano::
|
818
|
-
|
819
|
-
Redirected to http://test.host/
|
820
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
2448
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
2449
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
821
2450
|
[1m[35m (0.0ms)[0m rollback transaction
|
822
|
-
|
823
|
-
|
824
|
-
|
2451
|
+
-------------------------------------------------------------------
|
2452
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
2453
|
+
-------------------------------------------------------------------
|
825
2454
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
826
2455
|
[1m[35m (0.0ms)[0m commit transaction
|
827
2456
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
828
|
-
Processing by Maestrano::
|
829
|
-
|
830
|
-
|
831
|
-
|
2457
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
2458
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
2459
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2461
|
+
------------------------------------------------------------------------------------------
|
2462
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
2463
|
+
------------------------------------------------------------------------------------------
|
2464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2465
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
832
2467
|
[1m[35m (0.0ms)[0m rollback transaction
|
833
2468
|
--------------------------------------------------------------------------------------
|
834
|
-
|
2469
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
835
2470
|
--------------------------------------------------------------------------------------
|
836
2471
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
837
2472
|
[1m[35m (0.0ms)[0m commit transaction
|
838
2473
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
844
|
-
-------------------------------------------------------------------------------
|
845
|
-
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
846
|
-
-------------------------------------------------------------------------------
|
2474
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2475
|
+
--------------------------------------------------------------------------------------
|
2476
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
2477
|
+
--------------------------------------------------------------------------------------
|
847
2478
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
848
2479
|
[1m[35m (0.0ms)[0m commit transaction
|
849
2480
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
850
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
851
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
852
|
-
Redirected to http://test.host/
|
853
|
-
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
854
2481
|
[1m[35m (0.0ms)[0m rollback transaction
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
859
|
-
[1m[35m (0.0ms)[0m commit transaction
|
2482
|
+
----------------------------------------------------------------------------------
|
2483
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
2484
|
+
----------------------------------------------------------------------------------
|
860
2485
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
861
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
862
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
863
|
-
Redirected to http://test.host/
|
864
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
865
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
866
|
-
------------------------------------------------------------------------------------------
|
867
|
-
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
868
|
-
------------------------------------------------------------------------------------------
|
869
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
870
2486
|
[1m[35m (0.0ms)[0m commit transaction
|
871
2487
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
872
|
-
Processing by Maestrano::Auth::SamlController#consume as HTML
|
873
|
-
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
874
|
-
Redirected to http://test.host/
|
875
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
876
2488
|
[1m[35m (0.0ms)[0m rollback transaction
|
877
|
-
|
878
|
-
|
879
|
-
|
2489
|
+
--------------------------------------------------------------------------------------------------------------------------
|
2490
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
2491
|
+
--------------------------------------------------------------------------------------------------------------------------
|
880
2492
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
881
2493
|
[1m[35m (0.0ms)[0m commit transaction
|
882
2494
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
883
|
-
Processing by Maestrano::Auth::SamlController#init as HTML
|
884
|
-
Parameters: {"a_param"=>"value"}
|
885
|
-
Redirected to http://idpprovider.com?r=request
|
886
|
-
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
887
2495
|
[1m[35m (0.0ms)[0m rollback transaction
|
888
|
-
|
889
|
-
|
890
|
-
|
2496
|
+
--------------------------------------------------------------------------------------------------------------------------
|
2497
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
2498
|
+
--------------------------------------------------------------------------------------------------------------------------
|
891
2499
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
892
2500
|
[1m[35m (0.0ms)[0m commit transaction
|
893
2501
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
894
|
-
Processing by Maestrano::Auth::SamlController#init as HTML
|
895
|
-
Parameters: {"a_param"=>"value"}
|
896
|
-
Redirected to http://idpprovider.com?r=request
|
897
|
-
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
898
2502
|
[1m[35m (0.0ms)[0m rollback transaction
|
899
|
-
|
900
|
-
|
901
|
-
|
2503
|
+
---------------------------------------------------------------------------------------------
|
2504
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
2505
|
+
---------------------------------------------------------------------------------------------
|
902
2506
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
903
2507
|
[1m[35m (0.0ms)[0m commit transaction
|
904
2508
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
905
|
-
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
906
|
-
Parameters: {"id"=>"cld-1"}
|
907
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
908
2509
|
[1m[35m (0.0ms)[0m rollback transaction
|
909
|
-
-----------------------------------------------------------------
|
910
|
-
GroupsControllerTest: test_: unauthenticated should deny access.
|
911
|
-
-----------------------------------------------------------------
|
912
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
913
|
-
[1m[35m (0.0ms)[0m commit transaction
|
914
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
915
|
-
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
916
|
-
Parameters: {"id"=>"cld-1"}
|
917
|
-
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
918
|
-
Completed 401 Unauthorized in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
919
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
920
2510
|
--------------------------------------------------------------------------------------------------------
|
921
2511
|
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
922
2512
|
--------------------------------------------------------------------------------------------------------
|
923
|
-
[1m[36m (0.
|
2513
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
924
2514
|
[1m[35m (0.0ms)[0m commit transaction
|
925
2515
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
926
|
-
[1m[35m (0.
|
2516
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
927
2517
|
--------------------------------------------------------------------------------------------------
|
928
2518
|
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
929
2519
|
--------------------------------------------------------------------------------------------------
|
@@ -931,88 +2521,110 @@ UserGeneratorTest: test_: UserGenerator should call the mongoid migration genera
|
|
931
2521
|
[1m[35m (0.0ms)[0m commit transaction
|
932
2522
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
933
2523
|
[1m[35m (0.0ms)[0m rollback transaction
|
934
|
-
|
935
|
-
|
936
|
-
|
2524
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
2525
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
2526
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
937
2527
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
938
2528
|
[1m[35m (0.0ms)[0m commit transaction
|
939
2529
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
940
|
-
|
941
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
942
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
943
|
-
-------------------------------------------------------------------
|
944
|
-
MetadataControllerTest: test_: unauthenticated should deny access.
|
945
|
-
-------------------------------------------------------------------
|
946
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
947
|
-
[1m[35m (0.0ms)[0m commit transaction
|
948
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
949
|
-
Processing by Maestrano::Rails::MetadataController#index as HTML
|
950
|
-
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
951
|
-
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
952
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
953
|
-
---------------------------------------------------------------------------------------------------------------------------------------
|
954
|
-
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
955
|
-
---------------------------------------------------------------------------------------------------------------------------------------
|
956
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
957
|
-
[1m[35m (0.0ms)[0m commit transaction
|
958
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
959
|
-
[1m[35mMnoCrew Load (0.3ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
2530
|
+
[1m[35mMnoMonster Load (0.2ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-2"]]
|
960
2531
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
961
|
-
[1m[35mSQL (0.
|
2532
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["created_at", "2015-09-15 00:47:57.210998"], ["updated_at", "2015-09-15 00:47:57.210998"]]
|
962
2533
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
963
|
-
[1m[35m (0.
|
964
|
-
|
965
|
-
|
966
|
-
|
2534
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2535
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
2536
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
2537
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
967
2538
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
968
2539
|
[1m[35m (0.0ms)[0m commit transaction
|
969
2540
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
970
2541
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
971
|
-
[1m[36mSQL (0.
|
2542
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["created_at", "2015-09-15 00:47:57.213401"], ["updated_at", "2015-09-15 00:47:57.213401"]]
|
972
2543
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
973
|
-
[1m[
|
2544
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "usr-1"]]
|
974
2545
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
975
|
-
[1m[36mSQL (0.
|
2546
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["provider", "maestrano"], ["uid", "usr-1"], ["created_at", "2015-09-15 00:47:57.214856"], ["updated_at", "2015-09-15 00:47:57.214856"]]
|
976
2547
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
977
|
-
[1m[36m (0.
|
978
|
-
|
979
|
-
|
980
|
-
|
2548
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2549
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
2550
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
2551
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
981
2552
|
[1m[35m (0.0ms)[0m begin transaction
|
982
2553
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
983
2554
|
[1m[35m (0.0ms)[0m begin transaction
|
984
2555
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
-
[1m[35mSQL (0.
|
986
|
-
[1m[36m (0.
|
987
|
-
[1m[
|
988
|
-
[1m[36m (0.
|
989
|
-
|
990
|
-
|
991
|
-
|
2556
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "maestrano"], ["uid", "usr-1"], ["created_at", "2015-09-15 00:47:57.216333"], ["updated_at", "2015-09-15 00:47:57.216333"]]
|
2557
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2558
|
+
[1m[35mMnoMonster Load (0.0ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-1"]]
|
2559
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2560
|
+
---------------------------------------------------------------------------------------------------
|
2561
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
2562
|
+
---------------------------------------------------------------------------------------------------
|
992
2563
|
[1m[35m (0.0ms)[0m begin transaction
|
993
2564
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
994
2565
|
[1m[35m (0.0ms)[0m begin transaction
|
995
2566
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
996
|
-
|
997
|
-
|
998
|
-
|
2567
|
+
------------------------------------------------------------------------------------------------------------
|
2568
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
2569
|
+
------------------------------------------------------------------------------------------------------------
|
999
2570
|
[1m[35m (0.0ms)[0m begin transaction
|
1000
2571
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1001
2572
|
[1m[35m (0.0ms)[0m begin transaction
|
1002
2573
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
2574
|
+
----------------------------------------------------------------------------------------------
|
2575
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
2576
|
+
----------------------------------------------------------------------------------------------
|
2577
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2578
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2579
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2580
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2581
|
+
-----------------------------------------------------------------------------------------------------------------------
|
2582
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
2583
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1006
2584
|
[1m[35m (0.0ms)[0m begin transaction
|
1007
2585
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1008
2586
|
[1m[35m (0.0ms)[0m begin transaction
|
1009
2587
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
2588
|
+
---------------------------------------------------------------------------------------------------------------------
|
2589
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
2590
|
+
---------------------------------------------------------------------------------------------------------------------
|
2591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2592
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2594
|
+
Processing by PagesController#home as HTML
|
2595
|
+
Rendered pages/home.html.erb within layouts/application (0.3ms)
|
2596
|
+
Completed 200 OK in 168ms (Views: 167.7ms | ActiveRecord: 0.0ms)
|
2597
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2598
|
+
--------------------------------------------------------------------------------------------------------------------
|
2599
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
2600
|
+
--------------------------------------------------------------------------------------------------------------------
|
2601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2602
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2604
|
+
Processing by PagesController#home as HTML
|
2605
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
2606
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
2607
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2608
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2609
|
+
-----------------------------------------------------------------------------------------------------------
|
2610
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
2611
|
+
-----------------------------------------------------------------------------------------------------------
|
2612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2613
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2614
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2615
|
+
Processing by PagesController#home as HTML
|
2616
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
2617
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
2618
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2619
|
+
------------------------------------------------------------------------------
|
2620
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
2621
|
+
------------------------------------------------------------------------------
|
1013
2622
|
[1m[35m (0.0ms)[0m begin transaction
|
1014
2623
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1015
2624
|
[1m[35m (0.0ms)[0m begin transaction
|
2625
|
+
Processing by PagesController#home as HTML
|
2626
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
2627
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1016
2628
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1017
2629
|
---------------------------------------------------------------------
|
1018
2630
|
GroupUsersControllerTest: test_: authenticated should be successful.
|
@@ -1022,6 +2634,7 @@ GroupUsersControllerTest: test_: authenticated should be successful.
|
|
1022
2634
|
[1m[35m (0.0ms)[0m begin transaction
|
1023
2635
|
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1024
2636
|
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
2637
|
+
Rendered text template (0.0ms)
|
1025
2638
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1026
2639
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1027
2640
|
---------------------------------------------------------------------
|
@@ -1035,115 +2648,167 @@ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
|
1035
2648
|
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
1036
2649
|
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1037
2650
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1042
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1043
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1044
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1045
|
-
---------------------------------------------------------------------------------------
|
1046
|
-
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
1047
|
-
---------------------------------------------------------------------------------------
|
2651
|
+
----------------------------------------------------------------------------------------------
|
2652
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
2653
|
+
----------------------------------------------------------------------------------------------
|
1048
2654
|
[1m[35m (0.1ms)[0m begin transaction
|
1049
2655
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1050
2656
|
[1m[35m (0.0ms)[0m begin transaction
|
2657
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2658
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2659
|
+
Bla
|
2660
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
2661
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1051
2662
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
2663
|
+
--------------------------------------------------------------------------------------------------------------------
|
2664
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
2665
|
+
--------------------------------------------------------------------------------------------------------------------
|
1055
2666
|
[1m[35m (0.0ms)[0m begin transaction
|
1056
2667
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1057
2668
|
[1m[35m (0.0ms)[0m begin transaction
|
2669
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2670
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2671
|
+
Redirected to http://test.host/
|
2672
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
1058
2673
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
2674
|
+
---------------------------------------------------------------------------------
|
2675
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
2676
|
+
---------------------------------------------------------------------------------
|
1062
2677
|
[1m[35m (0.0ms)[0m begin transaction
|
1063
2678
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1064
2679
|
[1m[35m (0.0ms)[0m begin transaction
|
2680
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2681
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2682
|
+
Redirected to http://test.host/
|
2683
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1065
2684
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1070
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2685
|
+
--------------------------------------------------------------------------------------
|
2686
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
2687
|
+
--------------------------------------------------------------------------------------
|
1071
2688
|
[1m[35m (0.0ms)[0m begin transaction
|
1072
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1073
|
-
---------------------------------------------------------------------------------------------------------------------------
|
1074
|
-
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
1075
|
-
---------------------------------------------------------------------------------------------------------------------------
|
1076
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1077
2689
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1078
2690
|
[1m[35m (0.0ms)[0m begin transaction
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
[1m[
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
----------------------------------------------------------------------------------------------------------
|
1088
|
-
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
1089
|
-
----------------------------------------------------------------------------------------------------------
|
2691
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2692
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2693
|
+
Redirected to http://test.host/
|
2694
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2695
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2696
|
+
-------------------------------------------------------------------------------
|
2697
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
2698
|
+
-------------------------------------------------------------------------------
|
1090
2699
|
[1m[35m (0.0ms)[0m begin transaction
|
1091
2700
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1092
2701
|
[1m[35m (0.0ms)[0m begin transaction
|
2702
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2703
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2704
|
+
Redirected to http://test.host/
|
2705
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1093
2706
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
2707
|
+
-------------------------------------------------------------------------------------
|
2708
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
2709
|
+
-------------------------------------------------------------------------------------
|
1097
2710
|
[1m[35m (0.0ms)[0m begin transaction
|
1098
2711
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1099
2712
|
[1m[35m (0.0ms)[0m begin transaction
|
1100
|
-
|
2713
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2714
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2715
|
+
Redirected to http://test.host/
|
2716
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
2717
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1101
2718
|
------------------------------------------------------------------------------------------
|
1102
|
-
|
2719
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
1103
2720
|
------------------------------------------------------------------------------------------
|
1104
2721
|
[1m[35m (0.0ms)[0m begin transaction
|
1105
2722
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1106
2723
|
[1m[35m (0.0ms)[0m begin transaction
|
2724
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
2725
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
2726
|
+
Redirected to http://test.host/
|
2727
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1107
2728
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1112
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1113
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1114
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1115
|
-
--------------------------------------------------------------------------------------
|
1116
|
-
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
1117
|
-
--------------------------------------------------------------------------------------
|
1118
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1119
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1120
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1121
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1122
|
-
----------------------------------------------------------------------------------
|
1123
|
-
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
1124
|
-
----------------------------------------------------------------------------------
|
2729
|
+
---------------------------------------------------------------------------------------------------------------------------
|
2730
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
2731
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1125
2732
|
[1m[35m (0.0ms)[0m begin transaction
|
1126
2733
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1127
2734
|
[1m[35m (0.0ms)[0m begin transaction
|
2735
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
2736
|
+
Parameters: {"a_param"=>"value"}
|
2737
|
+
Redirected to http://idpprovider.com?r=request
|
2738
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1128
2739
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
2740
|
+
-----------------------------------------------------------------------------------------------------------------------
|
2741
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
2742
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1132
2743
|
[1m[35m (0.0ms)[0m begin transaction
|
1133
2744
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1134
2745
|
[1m[35m (0.0ms)[0m begin transaction
|
2746
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
2747
|
+
Parameters: {"a_param"=>"value"}
|
2748
|
+
Redirected to http://idpprovider.com?r=request
|
2749
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
1135
2750
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
2751
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
2752
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
2753
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
1139
2754
|
[1m[35m (0.0ms)[0m begin transaction
|
1140
2755
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1141
2756
|
[1m[35m (0.0ms)[0m begin transaction
|
1142
|
-
[1m[
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
2757
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "usr-2"]]
|
2758
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2759
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["created_at", "2015-09-15 00:47:57.428690"], ["updated_at", "2015-09-15 00:47:57.428690"]]
|
2760
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2761
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2762
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
2763
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
2764
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
1146
2765
|
[1m[35m (0.0ms)[0m begin transaction
|
1147
2766
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1148
2767
|
[1m[35m (0.0ms)[0m begin transaction
|
1149
|
-
[1m[36m (0.0ms)[0m [
|
2768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2769
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["created_at", "2015-09-15 00:47:57.430513"], ["updated_at", "2015-09-15 00:47:57.430513"]]
|
2770
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2771
|
+
[1m[35mMnoCrew Load (0.0ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "cld-1"]]
|
2772
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2773
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["created_at", "2015-09-15 00:47:57.431647"], ["updated_at", "2015-09-15 00:47:57.431647"]]
|
2774
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2776
|
+
------------------------------------------------------------------------------------------------------------------------------
|
2777
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
2778
|
+
------------------------------------------------------------------------------------------------------------------------------
|
2779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2780
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2782
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2783
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["created_at", "2015-09-15 00:47:57.432954"], ["updated_at", "2015-09-15 00:47:57.432954"]]
|
2784
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2785
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "cld-1"]]
|
2786
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2787
|
+
----------------------------------------------------------------------------------------------------
|
2788
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
2789
|
+
----------------------------------------------------------------------------------------------------
|
2790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2791
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2792
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2793
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2794
|
+
-------------------------------------------------------------------------------------------------------------
|
2795
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
2796
|
+
-------------------------------------------------------------------------------------------------------------
|
2797
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2798
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2800
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2801
|
+
-----------------------------------------------------------------------------------------------
|
2802
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
2803
|
+
-----------------------------------------------------------------------------------------------
|
2804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2805
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2807
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2808
|
+
------------------------------------------------------------------------------------------------------------------------
|
2809
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
2810
|
+
------------------------------------------------------------------------------------------------------------------------
|
2811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2812
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2813
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2814
|
+
[1m[35m (0.0ms)[0m rollback transaction
|