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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +10 -6
  4. data/app/controllers/maestrano/rails/metadata_controller.rb +3 -1
  5. data/app/controllers/maestrano/rails/saml_base_controller.rb +6 -3
  6. data/app/controllers/maestrano/rails/web_hook_controller.rb +3 -3
  7. data/lib/generators/maestrano/templates/maestrano.rb +9 -0
  8. data/lib/maestrano/rails/routing/routes.rb +4 -6
  9. data/maestrano-rails.gemspec +8 -8
  10. data/test/dummy_activerecord/log/test.log +2139 -474
  11. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  12. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  13. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  14. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/58e369b37e5157ea746a485eea17e9f7 +0 -0
  15. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{260526788a28cefa81bc600586be1311 → 776374354bf36d24e442115e63b9a735} +0 -0
  16. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/7ae10239eda2588a95fdcc7d871bef52 +0 -0
  17. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6 +0 -0
  18. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{a5b83efac01dc54c4751dd02b18fecf2 → 9620fb848d554874d4f20b7f0d60f35d} +0 -0
  19. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{59fddb0a51ca581e6a53e9219cd298bf → b0eaab2bc50e2e3547e318f8b43a941e} +0 -0
  20. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85 +0 -0
  21. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/{b6d2aa6ccdbfae33b9016a32418f5697 → cc70cce011a969eca12cb127583c2cd6} +0 -0
  22. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  23. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  24. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  25. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/-uA6cy-2nKd6XkeWcJhr8X3v3yZ5oViPiHRlvne99W0.cache +2 -0
  26. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/04Ki0BXgfOJJaUw5um_GT67jyhfSeC5XuP72cI6NoDY.cache +0 -0
  27. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/1ld51qTCgZXC9suf2t2hWCTtpjSIsBirvsb90m9ie-8.cache +1 -0
  28. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/5g7dhxVp4YbZmFw_-T3aU2oYq2Z9Jgtps0CKneXYSS0.cache +2 -0
  29. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/6RdLjaglysmf-CPvVKaloO_-5q9ADlCh9heL_jAQz-8.cache +1 -0
  30. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/6aJwp38vBSXdtink_SgOtnqUqp8Z8okHEs08vGkZ0ec.cache +1 -0
  31. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/7Epn_PknptysV9qbt8psqZYuMkJ3cRQvbM5MRGmIoiM.cache +0 -0
  32. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/7rKh4lG5ceEUlcKp6PKkbPdRZ-l2F_u-ZeykbRhaK2I.cache +2 -0
  33. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/9TpslyozRKK68-sW9jLt13QIu1XWy-q-CzKU1EAb7RA.cache +0 -0
  34. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/BQtyJR3ccqed7_s43p3BPj3IL18LWu1Fo1ZnzWC3qcc.cache +2 -0
  35. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/DCFIDkbToSiICA4sBCKWvjY-H4gEV-F6c_uICFSEpyE.cache +2 -0
  36. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/EEUTqiyEo6nmDZZeHMwO1r9cKT3LhciUYFSoHU0iGcE.cache +1 -0
  37. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/KprhKxGjJIBw-qHcuN-fbQgVttWYDjUyQCKFvLUpSeQ.cache +1 -0
  38. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/Mbf0YromzGbDh3Q33bjwLGOTV9oj3u4de0ocFPBeXCY.cache +1 -0
  39. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/SBwQFRWeGZwRAHnGVCZGOamm432tMyKa18m-p6TWU6Q.cache +0 -0
  40. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/SYzPyxJETf8U18Qget3u80KmztRl2iih2m4te76sQxs.cache +1 -0
  41. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/Scwp43xGik78ndWSr7A_SyvfrES8ecFKFav7VJe3HFw.cache +0 -0
  42. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/UDEx_cN4FPO4_mm7ccGeHKEBLb_Mh1EwZpX4n8A-N6w.cache +0 -0
  43. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/VNCapNKJLeponthNeFJhaBYs92UBT3P8PugENHP0474.cache +2 -0
  44. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/W1I750hXtFauIXfdF_h8f0H6Eh9fPjn1nb3WDnJGJ_0.cache +2 -0
  45. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/WivRTRHrfoezUj_7OaU50eG012NUWibGEeJYA4g59mY.cache +1 -0
  46. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/XGC8yjqErVk2OqXhCQ6xaSttX62JVKhceqwp6GNA57I.cache +2 -0
  47. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +2 -0
  48. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/eYr8LE29pvbLeoiuX1INZlTcPYWjQ7ThMYuRIvPPlCg.cache +1 -0
  49. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/gy9RGhwK8c2SEljBLCz_qiWrBoP_Cl5IgvCjJuxw148.cache +0 -0
  50. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +2 -0
  51. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/mOquqR85EYU-k_BoZjuqfR9xrhR4yQUUWCi_3Y3f_u4.cache +0 -0
  52. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/mhIfYcBPFAF-_yuaqLVntwdB3zZcDDOc5femwATDC8Q.cache +1 -0
  53. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/rXBgGAYahPKy55mgXjkz5OcFFiiGfvCLoOsbkMQGNDs.cache +1 -0
  54. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/s79F8WSoX84q4jW1ddfSi4dIy-lhWcJDPWw4asKPmMs.cache +2 -0
  55. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/sn7tMYj6vUxaFXG7SQe4O79d5oMoqJydwx33q9-308E.cache +1 -0
  56. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/uRsN6Sa_S5hSLGCCuuLNBXfhwvck-N7Sr2XbVq8waFY.cache +1 -0
  57. data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/v3.0/xNScSuE8jYRa2F41anynskx2xa5avSWkYLFAH2l95Ic.cache +1 -0
  58. data/test/tmp/app/models/monster.rb +8 -2
  59. metadata +79 -16
  60. data/test/dummy_mongoid/log/test.log +0 -130
  61. 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: 8b41c6fccbbd1b5d9ac4336786286ec91848f3d3
4
- data.tar.gz: 715195785119d9d99742cc49a7e72644bf5b688a
3
+ metadata.gz: fedd1ff130d558fb306be8559c24744c04a07d37
4
+ data.tar.gz: 1cd98b728ff23732d4fecc76686ba46662965f55
5
5
  SHA512:
6
- metadata.gz: 768fd38b1d0bdf5e84ccc77ab140c11b0ba7d5b24508f134bee2eedbd726a040a355f8d19c441bac64a41ea03d8a365fcfd09ae099bb2c65aeab4650ed6273fe
7
- data.tar.gz: 0ea94c34c3da2138b845c760ffc81fcbc1487893e4d290933a30b42a7e6535d9af95b2db16c17fde2678b0bf660d09110a104727ea1682885da475b5d37b37fb
6
+ metadata.gz: aaea660651d7009b7868694cb2b52ae5f7cf9808a82588049e9e2ed73f7da363bba6516be3586a70c25b7b74f7dcf1e745b58d7e49312866ac14e93a15f0447a
7
+ data.tar.gz: 2785e1b32bbec1ecca65d252565e651086c348fa2384ccaccec90dc4d7445604925a6c299e5203c2a913998af5c09257b4652722d908d33a436a5faecdcf5988
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
 
3
3
  gem 'rails'
4
4
  gem 'jquery-rails'
5
- gem 'maestrano', '~> 0.11.0'
5
+ gem 'maestrano', '~> 0.12.0'
6
6
 
7
7
  group :test do
8
8
  gem 'test-unit'
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.23)
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.3)
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.11.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
- unf_ext (0.0.6)
170
- uuid (2.3.7)
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.11.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
- # Initialize the SAML request and redirects the
7
- # user to Maestrano
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
- redirect_to Maestrano::Saml::Request.new(params,session).redirect_url
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
- authorized = false
8
- authenticate_with_http_basic do |app_id, api_token|
9
- authorized = Maestrano.authenticate(app_id,api_token)
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' => 'metadata#index'
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
@@ -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.11.0 ruby lib
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.11.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-03-24"
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.2.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.11.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.11.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.11.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
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+ ---------------------------------------------------------------------------------------------------------------------------------------
3
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
4
+ ---------------------------------------------------------------------------------------------------------------------------------------
5
+  (0.1ms) begin transaction
6
+  (0.0ms) commit transaction
7
+  (0.0ms) begin transaction
8
+ MnoCrew Load (0.1ms) 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
9
+  (0.0ms) SAVEPOINT active_record_1
10
+ SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12
+  (0.1ms) rollback transaction
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
+  (0.0ms) begin transaction
17
+  (0.0ms) commit transaction
18
+  (0.0ms) begin transaction
19
+  (0.0ms) SAVEPOINT active_record_1
20
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
22
+ MnoCrew Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
24
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
26
+  (0.1ms) rollback transaction
27
+ ------------------------------------------------------------------------------------------------------------------------------
28
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
29
+ ------------------------------------------------------------------------------------------------------------------------------
30
+  (0.1ms) begin transaction
31
+  (0.0ms) commit transaction
32
+  (0.0ms) begin transaction
33
+  (0.0ms) SAVEPOINT active_record_1
34
+ SQL (0.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36
+ MnoCrew Load (0.1ms) 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
37
+  (0.1ms) rollback transaction
38
+ ----------------------------------------------------------------------------------------------------
39
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
40
+ ----------------------------------------------------------------------------------------------------
41
+  (0.0ms) begin transaction
42
+  (0.0ms) commit transaction
43
+  (0.0ms) begin transaction
44
+  (0.0ms) rollback transaction
45
+ -------------------------------------------------------------------------------------------------------------
46
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
47
+ -------------------------------------------------------------------------------------------------------------
48
+  (0.0ms) begin transaction
49
+  (0.0ms) commit transaction
50
+  (0.0ms) begin transaction
51
+  (0.0ms) rollback transaction
52
+ -----------------------------------------------------------------------------------------------
53
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
54
+ -----------------------------------------------------------------------------------------------
55
+  (0.0ms) begin transaction
56
+  (0.0ms) commit transaction
57
+  (0.0ms) begin transaction
58
+  (0.0ms) rollback transaction
59
+ ------------------------------------------------------------------------------------------------------------------------
60
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
61
+ ------------------------------------------------------------------------------------------------------------------------
62
+  (0.0ms) begin transaction
63
+  (0.0ms) commit transaction
64
+  (0.0ms) begin transaction
65
+  (0.0ms) rollback transaction
66
+ -------------------------------------------------------------------------------------------
67
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
68
+ -------------------------------------------------------------------------------------------
69
+  (0.0ms) begin transaction
70
+  (0.0ms) commit transaction
71
+  (0.0ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+ ---------------------------------------------------------------------------------------
74
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
75
+ ---------------------------------------------------------------------------------------
76
+  (0.0ms) begin transaction
77
+  (0.0ms) commit transaction
78
+  (0.0ms) begin transaction
79
+  (0.1ms) rollback transaction
80
+ ---------------------------------------------------------------------------------------
81
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
82
+ ---------------------------------------------------------------------------------------
83
+  (0.0ms) begin transaction
84
+  (0.0ms) commit transaction
85
+  (0.0ms) begin transaction
86
+  (0.0ms) rollback transaction
87
+ -----------------------------------------------------------------------------------
88
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
89
+ -----------------------------------------------------------------------------------
90
+  (0.0ms) begin transaction
91
+  (0.0ms) commit transaction
92
+  (0.0ms) begin transaction
93
+  (0.0ms) rollback transaction
94
+ ---------------------------------------------------------------------------------------------------------------------------
95
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
96
+ ---------------------------------------------------------------------------------------------------------------------------
97
+  (0.0ms) begin transaction
98
+  (0.0ms) commit transaction
99
+  (0.0ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+ ---------------------------------------------------------------------------------------------------------------------------
102
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
103
+ ---------------------------------------------------------------------------------------------------------------------------
104
+  (0.0ms) begin transaction
105
+  (0.0ms) commit transaction
106
+  (0.0ms) begin transaction
107
+  (0.0ms) rollback transaction
108
+ ----------------------------------------------------------------------------------------------
109
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
110
+ ----------------------------------------------------------------------------------------------
111
+  (0.0ms) begin transaction
112
+  (0.0ms) commit transaction
113
+  (0.0ms) begin transaction
114
+  (0.0ms) rollback transaction
115
+ ------------------------------
116
+ MaestranoRailsTest: test_truth
117
+ ------------------------------
118
+  (0.1ms) begin transaction
119
+  (0.0ms) commit transaction
120
+  (0.0ms) begin transaction
121
+  (0.0ms) 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
+  (0.0ms) begin transaction
126
+  (0.0ms) commit transaction
127
+  (0.0ms) begin transaction
128
+ MnoMonster Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
130
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
132
+  (0.1ms) 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
+  (0.0ms) begin transaction
137
+  (0.0ms) commit transaction
138
+  (0.0ms) begin transaction
139
+  (0.0ms) SAVEPOINT active_record_1
140
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142
+ MnoMonster Load (0.1ms) 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
143
+  (0.0ms) SAVEPOINT active_record_1
144
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 23:38:48.890846"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:38:48.890846"]]
145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146
+  (0.1ms) rollback transaction
147
+ --------------------------------------------------------------------------------------------------------------------------------
148
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
149
+ --------------------------------------------------------------------------------------------------------------------------------
150
+  (0.0ms) begin transaction
151
+  (0.1ms) commit transaction
152
+  (0.0ms) begin transaction
153
+  (0.0ms) SAVEPOINT active_record_1
154
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
156
+ MnoMonster Load (0.1ms) 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
+  (0.1ms) rollback transaction
158
+ ---------------------------------------------------------------------------------------------------
159
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
160
+ ---------------------------------------------------------------------------------------------------
161
+  (0.0ms) begin transaction
162
+  (0.0ms) commit transaction
163
+  (0.0ms) begin transaction
164
+  (0.0ms) rollback transaction
165
+ ------------------------------------------------------------------------------------------------------------
166
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
167
+ ------------------------------------------------------------------------------------------------------------
168
+  (0.0ms) begin transaction
169
+  (0.0ms) commit transaction
170
+  (0.0ms) begin transaction
171
+  (0.0ms) rollback transaction
172
+ ----------------------------------------------------------------------------------------------
173
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
174
+ ----------------------------------------------------------------------------------------------
175
+  (0.1ms) begin transaction
176
+  (0.0ms) commit transaction
177
+  (0.0ms) begin transaction
178
+  (0.0ms) rollback transaction
179
+ -----------------------------------------------------------------------------------------------------------------------
180
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
181
+ -----------------------------------------------------------------------------------------------------------------------
182
+  (0.0ms) begin transaction
183
+  (0.0ms) commit transaction
184
+  (0.0ms) begin transaction
185
+  (0.0ms) rollback transaction
186
+ ------------------------------------------------------------------------------------------
187
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
188
+ ------------------------------------------------------------------------------------------
189
+  (0.0ms) begin transaction
190
+  (0.0ms) commit transaction
191
+  (0.1ms) begin transaction
192
+  (0.0ms) rollback transaction
193
+ --------------------------------------------------------------------------------------
194
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
195
+ --------------------------------------------------------------------------------------
196
+  (0.0ms) begin transaction
197
+  (0.0ms) commit transaction
198
+  (0.1ms) begin transaction
199
+  (0.0ms) rollback transaction
200
+ --------------------------------------------------------------------------------------
201
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
202
+ --------------------------------------------------------------------------------------
203
+  (0.0ms) begin transaction
204
+  (0.0ms) commit transaction
205
+  (0.0ms) begin transaction
206
+  (0.1ms) rollback transaction
207
+ ----------------------------------------------------------------------------------
208
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
209
+ ----------------------------------------------------------------------------------
210
+  (0.0ms) begin transaction
211
+  (0.0ms) commit transaction
212
+  (0.0ms) begin transaction
213
+  (0.0ms) rollback transaction
214
+ --------------------------------------------------------------------------------------------------------------------------
215
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
216
+ --------------------------------------------------------------------------------------------------------------------------
217
+  (0.0ms) begin transaction
218
+  (0.0ms) commit transaction
219
+  (0.0ms) begin transaction
220
+  (0.0ms) rollback transaction
221
+ --------------------------------------------------------------------------------------------------------------------------
222
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
223
+ --------------------------------------------------------------------------------------------------------------------------
224
+  (0.0ms) begin transaction
225
+  (0.0ms) commit transaction
226
+  (0.0ms) begin transaction
227
+  (0.0ms) rollback transaction
228
+ ---------------------------------------------------------------------------------------------
229
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
230
+ ---------------------------------------------------------------------------------------------
231
+  (0.0ms) begin transaction
232
+  (0.0ms) commit transaction
233
+  (0.0ms) begin transaction
234
+  (0.0ms) rollback transaction
235
+ -----------------------------------------------------------------
236
+ GroupsControllerTest: test_: authenticated should be successful.
237
+ -----------------------------------------------------------------
238
+  (0.0ms) begin transaction
239
+  (0.0ms) commit transaction
240
+  (0.0ms) 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
+  (0.0ms) rollback transaction
246
+ -----------------------------------------------------------------
247
+ GroupsControllerTest: test_: unauthenticated should deny access.
248
+ -----------------------------------------------------------------
249
+  (0.0ms) begin transaction
250
+  (0.0ms) commit transaction
251
+  (0.0ms) 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
+  (0.1ms) rollback transaction
257
+ --------------------------------------------------------------------------------------------------------
258
+ UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
259
+ --------------------------------------------------------------------------------------------------------
260
+  (0.0ms) begin transaction
261
+  (0.0ms) commit transaction
262
+  (0.0ms) begin transaction
263
+  (0.1ms) rollback transaction
264
+ --------------------------------------------------------------------------------------------------
265
+ UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
266
+ --------------------------------------------------------------------------------------------------
267
+  (0.0ms) begin transaction
268
+  (0.0ms) commit transaction
269
+  (0.0ms) begin transaction
270
+  (0.1ms) rollback transaction
271
+ ----------------------------------------------------------------------------------------------
272
+ SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
273
+ ----------------------------------------------------------------------------------------------
274
+  (0.0ms) begin transaction
275
+  (0.0ms) commit transaction
276
+  (0.0ms) 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
+  (0.0ms) rollback transaction
283
+ --------------------------------------------------------------------------------------------------------------------
284
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
285
+ --------------------------------------------------------------------------------------------------------------------
286
+  (0.0ms) begin transaction
287
+  (0.0ms) commit transaction
288
+  (0.0ms) 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
+  (0.0ms) rollback transaction
294
+ ---------------------------------------------------------------------------------
295
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
296
+ ---------------------------------------------------------------------------------
297
+  (0.0ms) begin transaction
298
+  (0.0ms) commit transaction
299
+  (0.0ms) 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
+  (0.0ms) rollback transaction
305
+ --------------------------------------------------------------------------------------
306
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
307
+ --------------------------------------------------------------------------------------
308
+  (0.0ms) begin transaction
309
+  (0.0ms) commit transaction
310
+  (0.0ms) 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
+  (0.0ms) rollback transaction
316
+ -------------------------------------------------------------------------------
317
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
318
+ -------------------------------------------------------------------------------
319
+  (0.0ms) begin transaction
320
+  (0.0ms) commit transaction
321
+  (0.0ms) 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
+  (0.0ms) rollback transaction
327
+ -------------------------------------------------------------------------------------
328
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
329
+ -------------------------------------------------------------------------------------
330
+  (0.0ms) begin transaction
331
+  (0.0ms) commit transaction
332
+  (0.0ms) 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
+  (0.0ms) rollback transaction
338
+ ------------------------------------------------------------------------------------------
339
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
340
+ ------------------------------------------------------------------------------------------
341
+  (0.0ms) begin transaction
342
+  (0.0ms) commit transaction
343
+  (0.0ms) 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
+  (0.0ms) rollback transaction
349
+ ---------------------------------------------------------------------------------------------------------------------------
350
+ SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
351
+ ---------------------------------------------------------------------------------------------------------------------------
352
+  (0.0ms) begin transaction
353
+  (0.0ms) commit transaction
354
+  (0.0ms) 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
+  (0.1ms) rollback transaction
360
+ -----------------------------------------------------------------------------------------------------------------------
361
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
362
+ -----------------------------------------------------------------------------------------------------------------------
363
+  (0.0ms) begin transaction
364
+  (0.0ms) commit transaction
365
+  (0.0ms) 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
+  (0.0ms) rollback transaction
371
+ -------------------------------------------------------------------
372
+ MetadataControllerTest: test_: authenticated should be successful.
373
+ -------------------------------------------------------------------
374
+  (0.0ms) begin transaction
375
+  (0.0ms) commit transaction
376
+  (0.0ms) begin transaction
377
+ Processing by Maestrano::Rails::MetadataController#index as HTML
378
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
379
+  (0.0ms) rollback transaction
380
+ -------------------------------------------------------------------
381
+ MetadataControllerTest: test_: unauthenticated should deny access.
382
+ -------------------------------------------------------------------
383
+  (0.0ms) begin transaction
384
+  (0.0ms) commit transaction
385
+  (0.0ms) 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
+  (0.0ms) rollback transaction
390
+ ---------------------------------------------------------------------------------------
391
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
392
+ ---------------------------------------------------------------------------------------
393
+  (0.0ms) begin transaction
394
+  (0.0ms) commit transaction
395
+  (0.0ms) begin transaction
396
+  (0.0ms) rollback transaction
397
+ ----------------------------------------------------------------------------------
398
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
399
+ ----------------------------------------------------------------------------------
400
+  (0.0ms) begin transaction
401
+  (0.0ms) commit transaction
402
+  (0.0ms) begin transaction
403
+  (0.0ms) rollback transaction
404
+ ----------------------------------------------------------------------------------------------------------
405
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
406
+ ----------------------------------------------------------------------------------------------------------
407
+  (0.0ms) begin transaction
408
+  (0.0ms) commit transaction
409
+  (0.0ms) begin transaction
410
+  (0.0ms) rollback transaction
411
+ -----------------------------------------------------------------------------------------------------
412
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
413
+ -----------------------------------------------------------------------------------------------------
414
+  (0.0ms) begin transaction
415
+  (0.0ms) commit transaction
416
+  (0.0ms) begin transaction
417
+  (0.1ms) rollback transaction
418
+ ------------------------------------------------------------------------------------------------
419
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
420
+ ------------------------------------------------------------------------------------------------
421
+  (0.0ms) begin transaction
422
+  (0.0ms) commit transaction
423
+  (0.0ms) begin transaction
424
+  (0.0ms) rollback transaction
425
+ ----------------------------------------------------------------------------------------------------------
426
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
427
+ ----------------------------------------------------------------------------------------------------------
428
+  (0.0ms) begin transaction
429
+  (0.0ms) commit transaction
430
+  (0.0ms) begin transaction
431
+  (0.1ms) rollback transaction
432
+ ----------------------------------------------------------------------------------------------------
433
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
434
+ ----------------------------------------------------------------------------------------------------
435
+  (0.0ms) begin transaction
436
+  (0.0ms) commit transaction
437
+  (0.0ms) begin transaction
438
+  (0.0ms) rollback transaction
439
+ ---------------------------------------------------------------------
440
+ GroupUsersControllerTest: test_: authenticated should be successful.
441
+ ---------------------------------------------------------------------
442
+  (0.0ms) begin transaction
443
+  (0.0ms) commit transaction
444
+  (0.0ms) 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
+  (0.0ms) rollback transaction
449
+ ---------------------------------------------------------------------
450
+ GroupUsersControllerTest: test_: unauthenticated should deny access.
451
+ ---------------------------------------------------------------------
452
+  (0.0ms) begin transaction
453
+  (0.0ms) commit transaction
454
+  (0.0ms) 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
+  (0.0ms) rollback transaction
460
+ ---------------------------------------------------------------------------------------------------------------------
461
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
462
+ ---------------------------------------------------------------------------------------------------------------------
463
+  (0.1ms) begin transaction
464
+  (0.0ms) commit transaction
465
+  (0.0ms) begin transaction
466
+ Processing by PagesController#home as HTML
467
+ Completed 500 Internal Server Error in 9ms
468
+  (0.1ms) rollback transaction
469
+ --------------------------------------------------------------------------------------------------------------------
470
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
471
+ --------------------------------------------------------------------------------------------------------------------
472
+  (0.0ms) begin transaction
473
+  (0.0ms) commit transaction
474
+  (0.0ms) 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
+  (0.0ms) rollback transaction
480
+ -----------------------------------------------------------------------------------------------------------
481
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
482
+ -----------------------------------------------------------------------------------------------------------
483
+  (0.0ms) begin transaction
484
+  (0.0ms) commit transaction
485
+  (0.0ms) begin transaction
486
+ Processing by PagesController#home as HTML
487
+ Completed 500 Internal Server Error in 3ms
488
+  (0.0ms) rollback transaction
489
+ ------------------------------------------------------------------------------
490
+ GenericControllerTest: test_: with no maestrano session should be successful.
491
+ ------------------------------------------------------------------------------
492
+  (0.0ms) begin transaction
493
+  (0.0ms) commit transaction
494
+  (0.0ms) begin transaction
495
+ Processing by PagesController#home as HTML
496
+ Completed 500 Internal Server Error in 3ms
497
+  (0.0ms) rollback transaction
498
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
499
+ -------------------------------------------------------------------
500
+ MetadataControllerTest: test_: authenticated should be successful.
501
+ -------------------------------------------------------------------
502
+  (0.1ms) begin transaction
503
+  (0.0ms) commit transaction
504
+  (0.0ms) begin transaction
505
+ Processing by Maestrano::Rails::MetadataController#index as HTML
506
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
507
+  (0.0ms) rollback transaction
508
+ -------------------------------------------------------------------
509
+ MetadataControllerTest: test_: unauthenticated should deny access.
510
+ -------------------------------------------------------------------
511
+  (0.0ms) begin transaction
512
+  (0.0ms) commit transaction
513
+  (0.0ms) 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
+  (0.0ms) rollback transaction
518
+ ---------------------------------------------------------------------------------------------------------------------------------------
519
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
520
+ ---------------------------------------------------------------------------------------------------------------------------------------
521
+  (0.0ms) begin transaction
522
+  (0.0ms) commit transaction
523
+  (0.0ms) begin transaction
524
+ MnoCrew Load (0.1ms) 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
525
+  (0.0ms) SAVEPOINT active_record_1
526
+ SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
528
+  (0.1ms) rollback transaction
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
+  (0.0ms) begin transaction
533
+  (0.0ms) commit transaction
534
+  (0.0ms) begin transaction
535
+  (0.0ms) SAVEPOINT active_record_1
536
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
538
+ MnoCrew Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
540
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+  (0.1ms) rollback transaction
543
+ ------------------------------------------------------------------------------------------------------------------------------
544
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
545
+ ------------------------------------------------------------------------------------------------------------------------------
546
+  (0.0ms) begin transaction
547
+  (0.0ms) commit transaction
548
+  (0.0ms) begin transaction
549
+  (0.0ms) SAVEPOINT active_record_1
550
+ SQL (0.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
552
+ MnoCrew Load (0.1ms) 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
553
+  (0.1ms) rollback transaction
554
+ ----------------------------------------------------------------------------------------------------
555
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
556
+ ----------------------------------------------------------------------------------------------------
557
+  (0.0ms) begin transaction
558
+  (0.0ms) commit transaction
559
+  (0.0ms) begin transaction
560
+  (0.0ms) rollback transaction
561
+ -------------------------------------------------------------------------------------------------------------
562
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
563
+ -------------------------------------------------------------------------------------------------------------
564
+  (0.0ms) begin transaction
565
+  (0.0ms) commit transaction
566
+  (0.0ms) begin transaction
567
+  (0.0ms) rollback transaction
568
+ -----------------------------------------------------------------------------------------------
569
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
570
+ -----------------------------------------------------------------------------------------------
571
+  (0.0ms) begin transaction
572
+  (0.0ms) commit transaction
573
+  (0.0ms) begin transaction
574
+  (0.0ms) rollback transaction
575
+ ------------------------------------------------------------------------------------------------------------------------
576
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
577
+ ------------------------------------------------------------------------------------------------------------------------
578
+  (0.0ms) begin transaction
579
+  (0.0ms) commit transaction
580
+  (0.0ms) begin transaction
581
+  (0.0ms) 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
+  (0.0ms) begin transaction
586
+  (0.0ms) commit transaction
587
+  (0.0ms) begin transaction
588
+ MnoMonster Load (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
590
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
592
+  (0.1ms) 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
+  (0.0ms) begin transaction
597
+  (0.0ms) commit transaction
598
+  (0.0ms) begin transaction
599
+  (0.0ms) SAVEPOINT active_record_1
600
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
602
+ MnoMonster Load (0.1ms) 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
603
+  (0.0ms) SAVEPOINT active_record_1
604
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-30 23:39:26.119497"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-30 23:39:26.119497"]]
605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
606
+  (0.1ms) rollback transaction
607
+ --------------------------------------------------------------------------------------------------------------------------------
608
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
609
+ --------------------------------------------------------------------------------------------------------------------------------
610
+  (0.0ms) begin transaction
611
+  (0.0ms) commit transaction
612
+  (0.0ms) begin transaction
613
+  (0.0ms) SAVEPOINT active_record_1
614
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
616
+ MnoMonster Load (0.1ms) 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
+  (0.1ms) rollback transaction
618
+ ---------------------------------------------------------------------------------------------------
619
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
620
+ ---------------------------------------------------------------------------------------------------
621
+  (0.0ms) begin transaction
622
+  (0.0ms) commit transaction
623
+  (0.0ms) begin transaction
624
+  (0.0ms) rollback transaction
625
+ ------------------------------------------------------------------------------------------------------------
626
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
627
+ ------------------------------------------------------------------------------------------------------------
628
+  (0.0ms) begin transaction
629
+  (0.0ms) commit transaction
630
+  (0.0ms) begin transaction
631
+  (0.0ms) rollback transaction
632
+ ----------------------------------------------------------------------------------------------
633
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
634
+ ----------------------------------------------------------------------------------------------
635
+  (0.0ms) begin transaction
636
+  (0.0ms) commit transaction
637
+  (0.0ms) begin transaction
638
+  (0.0ms) rollback transaction
639
+ -----------------------------------------------------------------------------------------------------------------------
640
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
641
+ -----------------------------------------------------------------------------------------------------------------------
642
+  (0.0ms) begin transaction
643
+  (0.0ms) commit transaction
644
+  (0.0ms) begin transaction
645
+  (0.0ms) rollback transaction
646
+ ---------------------------------------------------------------------------------------------------------------------
647
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
648
+ ---------------------------------------------------------------------------------------------------------------------
649
+  (0.1ms) begin transaction
650
+  (0.0ms) commit transaction
651
+  (0.0ms) begin transaction
652
+ Processing by PagesController#home as HTML
653
+ Completed 200 OK in 24ms (Views: 23.3ms | ActiveRecord: 0.0ms)
654
+  (0.1ms) rollback transaction
655
+ --------------------------------------------------------------------------------------------------------------------
656
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
657
+ --------------------------------------------------------------------------------------------------------------------
658
+  (0.1ms) begin transaction
659
+  (0.1ms) commit transaction
660
+  (0.1ms) 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
+  (0.1ms) rollback transaction
666
+ -----------------------------------------------------------------------------------------------------------
667
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
668
+ -----------------------------------------------------------------------------------------------------------
669
+  (0.0ms) begin transaction
670
+  (0.0ms) commit transaction
671
+  (0.0ms) begin transaction
672
+ Processing by PagesController#home as HTML
673
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
674
+  (0.1ms) rollback transaction
675
+ ------------------------------------------------------------------------------
676
+ GenericControllerTest: test_: with no maestrano session should be successful.
677
+ ------------------------------------------------------------------------------
678
+  (0.0ms) begin transaction
679
+  (0.0ms) commit transaction
680
+  (0.0ms) begin transaction
681
+ Processing by PagesController#home as HTML
682
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
683
+  (0.0ms) rollback transaction
684
+ ----------------------------------------------------------------------------------------------
685
+ SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
686
+ ----------------------------------------------------------------------------------------------
687
+  (0.0ms) begin transaction
688
+  (0.0ms) commit transaction
689
+  (0.0ms) 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
+  (0.0ms) rollback transaction
696
+ --------------------------------------------------------------------------------------------------------------------
697
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
698
+ --------------------------------------------------------------------------------------------------------------------
699
+  (0.0ms) begin transaction
700
+  (0.0ms) commit transaction
701
+  (0.0ms) 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
+  (0.0ms) rollback transaction
707
+ ---------------------------------------------------------------------------------
708
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
709
+ ---------------------------------------------------------------------------------
710
+  (0.0ms) begin transaction
711
+  (0.0ms) commit transaction
712
+  (0.0ms) 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
+  (0.0ms) rollback transaction
718
+ --------------------------------------------------------------------------------------
719
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
720
+ --------------------------------------------------------------------------------------
721
+  (0.0ms) begin transaction
722
+  (0.0ms) commit transaction
723
+  (0.0ms) 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
+  (0.0ms) rollback transaction
729
+ -------------------------------------------------------------------------------
730
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
731
+ -------------------------------------------------------------------------------
732
+  (0.0ms) begin transaction
733
+  (0.1ms) commit transaction
734
+  (0.0ms) 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
+  (0.0ms) rollback transaction
740
+ -------------------------------------------------------------------------------------
741
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
742
+ -------------------------------------------------------------------------------------
743
+  (0.0ms) begin transaction
744
+  (0.0ms) commit transaction
745
+  (0.0ms) 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
+  (0.0ms) rollback transaction
751
+ ------------------------------------------------------------------------------------------
752
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
753
+ ------------------------------------------------------------------------------------------
754
+  (0.0ms) begin transaction
755
+  (0.0ms) commit transaction
756
+  (0.0ms) 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
+  (0.0ms) rollback transaction
762
+ ---------------------------------------------------------------------------------------------------------------------------
763
+ SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
764
+ ---------------------------------------------------------------------------------------------------------------------------
765
+  (0.0ms) begin transaction
766
+  (0.0ms) commit transaction
767
+  (0.0ms) 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
+  (0.0ms) rollback transaction
773
+ -----------------------------------------------------------------------------------------------------------------------
774
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
775
+ -----------------------------------------------------------------------------------------------------------------------
776
+  (0.0ms) begin transaction
777
+  (0.0ms) commit transaction
778
+  (0.0ms) 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
+  (0.0ms) rollback transaction
784
+ ----------------------------------------------------------------------------------------------------------
785
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
786
+ ----------------------------------------------------------------------------------------------------------
787
+  (0.0ms) begin transaction
788
+  (0.0ms) commit transaction
789
+  (0.0ms) begin transaction
790
+  (0.1ms) rollback transaction
791
+ ----------------------------------------------------------------------------------------------------
792
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
793
+ ----------------------------------------------------------------------------------------------------
794
+  (0.0ms) begin transaction
795
+  (0.0ms) commit transaction
796
+  (0.0ms) begin transaction
797
+  (0.0ms) rollback transaction
798
+ -------------------------------------------------------------------------------------------
799
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
800
+ -------------------------------------------------------------------------------------------
801
+  (0.1ms) begin transaction
802
+  (0.0ms) commit transaction
803
+  (0.0ms) begin transaction
804
+  (0.1ms) rollback transaction
805
+ ---------------------------------------------------------------------------------------
806
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
807
+ ---------------------------------------------------------------------------------------
808
+  (0.1ms) begin transaction
809
+  (0.0ms) commit transaction
810
+  (0.0ms) begin transaction
811
+  (0.0ms) rollback transaction
812
+ ---------------------------------------------------------------------------------------
813
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
814
+ ---------------------------------------------------------------------------------------
815
+  (0.0ms) begin transaction
816
+  (0.0ms) commit transaction
817
+  (0.0ms) begin transaction
818
+  (0.0ms) rollback transaction
819
+ -----------------------------------------------------------------------------------
820
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
821
+ -----------------------------------------------------------------------------------
822
+  (0.0ms) begin transaction
823
+  (0.0ms) commit transaction
824
+  (0.0ms) begin transaction
825
+  (0.0ms) rollback transaction
826
+ ---------------------------------------------------------------------------------------------------------------------------
827
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
828
+ ---------------------------------------------------------------------------------------------------------------------------
829
+  (0.0ms) begin transaction
830
+  (0.0ms) commit transaction
831
+  (0.0ms) begin transaction
832
+  (0.0ms) rollback transaction
833
+ ---------------------------------------------------------------------------------------------------------------------------
834
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
835
+ ---------------------------------------------------------------------------------------------------------------------------
836
+  (0.0ms) begin transaction
837
+  (0.0ms) commit transaction
838
+  (0.0ms) begin transaction
839
+  (0.0ms) rollback transaction
840
+ ----------------------------------------------------------------------------------------------
841
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
842
+ ----------------------------------------------------------------------------------------------
843
+  (0.0ms) begin transaction
844
+  (0.0ms) commit transaction
845
+  (0.0ms) begin transaction
846
+  (0.0ms) rollback transaction
847
+ ------------------------------------------------------------------------------------------
848
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
849
+ ------------------------------------------------------------------------------------------
850
+  (0.0ms) begin transaction
851
+  (0.0ms) commit transaction
852
+  (0.0ms) begin transaction
853
+  (0.0ms) rollback transaction
854
+ --------------------------------------------------------------------------------------
855
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
856
+ --------------------------------------------------------------------------------------
857
+  (0.0ms) begin transaction
858
+  (0.0ms) commit transaction
859
+  (0.0ms) begin transaction
860
+  (0.0ms) rollback transaction
861
+ --------------------------------------------------------------------------------------
862
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
863
+ --------------------------------------------------------------------------------------
864
+  (0.0ms) begin transaction
865
+  (0.0ms) commit transaction
866
+  (0.0ms) begin transaction
867
+  (0.0ms) rollback transaction
868
+ ----------------------------------------------------------------------------------
869
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
870
+ ----------------------------------------------------------------------------------
871
+  (0.0ms) begin transaction
872
+  (0.0ms) commit transaction
873
+  (0.0ms) begin transaction
874
+  (0.0ms) rollback transaction
875
+ --------------------------------------------------------------------------------------------------------------------------
876
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
877
+ --------------------------------------------------------------------------------------------------------------------------
878
+  (0.0ms) begin transaction
879
+  (0.0ms) commit transaction
880
+  (0.0ms) begin transaction
881
+  (0.0ms) rollback transaction
882
+ --------------------------------------------------------------------------------------------------------------------------
883
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
884
+ --------------------------------------------------------------------------------------------------------------------------
885
+  (0.0ms) begin transaction
886
+  (0.0ms) commit transaction
887
+  (0.0ms) begin transaction
888
+  (0.0ms) rollback transaction
889
+ ---------------------------------------------------------------------------------------------
890
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
891
+ ---------------------------------------------------------------------------------------------
892
+  (0.0ms) begin transaction
893
+  (0.0ms) commit transaction
894
+  (0.0ms) begin transaction
895
+  (0.0ms) rollback transaction
896
+ --------------------------------------------------------------------------------------------------------
897
+ UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
898
+ --------------------------------------------------------------------------------------------------------
899
+  (0.0ms) begin transaction
900
+  (0.0ms) commit transaction
901
+  (0.0ms) begin transaction
902
+  (0.0ms) rollback transaction
903
+ --------------------------------------------------------------------------------------------------
904
+ UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
905
+ --------------------------------------------------------------------------------------------------
906
+  (0.0ms) begin transaction
907
+  (0.0ms) commit transaction
908
+  (0.1ms) begin transaction
909
+  (0.0ms) rollback transaction
910
+ -----------------------------------------------------------------
911
+ GroupsControllerTest: test_: authenticated should be successful.
912
+ -----------------------------------------------------------------
913
+  (0.0ms) begin transaction
914
+  (0.0ms) commit transaction
915
+  (0.0ms) 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
+  (0.0ms) rollback transaction
920
+ -----------------------------------------------------------------
921
+ GroupsControllerTest: test_: unauthenticated should deny access.
922
+ -----------------------------------------------------------------
923
+  (0.0ms) begin transaction
924
+  (0.0ms) commit transaction
925
+  (0.0ms) 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
+  (0.0ms) rollback transaction
931
+ ---------------------------------------------------------------------------------------
932
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
933
+ ---------------------------------------------------------------------------------------
934
+  (0.0ms) begin transaction
935
+  (0.0ms) commit transaction
936
+  (0.0ms) begin transaction
937
+  (0.1ms) rollback transaction
938
+ ----------------------------------------------------------------------------------
939
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
940
+ ----------------------------------------------------------------------------------
941
+  (0.0ms) begin transaction
942
+  (0.0ms) commit transaction
943
+  (0.0ms) begin transaction
944
+  (0.1ms) rollback transaction
945
+ ----------------------------------------------------------------------------------------------------------
946
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
947
+ ----------------------------------------------------------------------------------------------------------
948
+  (0.0ms) begin transaction
949
+  (0.0ms) commit transaction
950
+  (0.0ms) begin transaction
951
+  (0.0ms) rollback transaction
952
+ -----------------------------------------------------------------------------------------------------
953
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
954
+ -----------------------------------------------------------------------------------------------------
955
+  (0.0ms) begin transaction
956
+  (0.0ms) commit transaction
957
+  (0.0ms) begin transaction
958
+  (0.0ms) rollback transaction
959
+ ------------------------------------------------------------------------------------------------
960
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
961
+ ------------------------------------------------------------------------------------------------
962
+  (0.0ms) begin transaction
963
+  (0.0ms) commit transaction
964
+  (0.0ms) begin transaction
965
+  (0.0ms) rollback transaction
966
+ ------------------------------
967
+ MaestranoRailsTest: test_truth
968
+ ------------------------------
969
+  (0.0ms) begin transaction
970
+  (0.0ms) commit transaction
971
+  (0.0ms) begin transaction
972
+  (0.0ms) rollback transaction
973
+ ---------------------------------------------------------------------
974
+ GroupUsersControllerTest: test_: authenticated should be successful.
975
+ ---------------------------------------------------------------------
976
+  (0.0ms) begin transaction
977
+  (0.0ms) commit transaction
978
+  (0.0ms) 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
+  (0.0ms) rollback transaction
983
+ ---------------------------------------------------------------------
984
+ GroupUsersControllerTest: test_: unauthenticated should deny access.
985
+ ---------------------------------------------------------------------
986
+  (0.0ms) begin transaction
987
+  (0.0ms) commit transaction
988
+  (0.0ms) 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
+  (0.0ms) rollback transaction
994
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
995
+ ----------------------------------------------------------------------------------------------
996
+ SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
997
+ ----------------------------------------------------------------------------------------------
998
+  (0.1ms) begin transaction
999
+  (0.0ms) commit transaction
1000
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1007
+ --------------------------------------------------------------------------------------------------------------------
1008
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
1009
+ --------------------------------------------------------------------------------------------------------------------
1010
+  (0.0ms) begin transaction
1011
+  (0.0ms) commit transaction
1012
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1018
+ ---------------------------------------------------------------------------------
1019
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
1020
+ ---------------------------------------------------------------------------------
1021
+  (0.0ms) begin transaction
1022
+  (0.0ms) commit transaction
1023
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1029
+ --------------------------------------------------------------------------------------
1030
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
1031
+ --------------------------------------------------------------------------------------
1032
+  (0.0ms) begin transaction
1033
+  (0.0ms) commit transaction
1034
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1040
+ -------------------------------------------------------------------------------
1041
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
1042
+ -------------------------------------------------------------------------------
1043
+  (0.1ms) begin transaction
1044
+  (0.0ms) commit transaction
1045
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1051
+ -------------------------------------------------------------------------------------
1052
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
1053
+ -------------------------------------------------------------------------------------
1054
+  (0.0ms) begin transaction
1055
+  (0.0ms) commit transaction
1056
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1062
+ ------------------------------------------------------------------------------------------
1063
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
1064
+ ------------------------------------------------------------------------------------------
1065
+  (0.0ms) begin transaction
1066
+  (0.0ms) commit transaction
1067
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1073
+ ---------------------------------------------------------------------------------------------------------------------------
1074
+ SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
1075
+ ---------------------------------------------------------------------------------------------------------------------------
1076
+  (0.0ms) begin transaction
1077
+  (0.0ms) commit transaction
1078
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1084
+ -----------------------------------------------------------------------------------------------------------------------
1085
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
1086
+ -----------------------------------------------------------------------------------------------------------------------
1087
+  (0.0ms) begin transaction
1088
+  (0.0ms) commit transaction
1089
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1095
+ ----------------------------------------------------------------------------------------------------------
1096
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
1097
+ ----------------------------------------------------------------------------------------------------------
1098
+  (0.1ms) begin transaction
1099
+  (0.0ms) commit transaction
1100
+  (0.0ms) begin transaction
1101
+  (0.0ms) rollback transaction
1102
+ ----------------------------------------------------------------------------------------------------
1103
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
1104
+ ----------------------------------------------------------------------------------------------------
1105
+  (0.0ms) begin transaction
1106
+  (0.0ms) commit transaction
1107
+  (0.0ms) begin transaction
1108
+  (0.0ms) rollback transaction
1109
+ -----------------------------------------------------------------
1110
+ GroupsControllerTest: test_: authenticated should be successful.
1111
+ -----------------------------------------------------------------
1112
+  (0.0ms) begin transaction
1113
+  (0.0ms) commit transaction
1114
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1119
+ -----------------------------------------------------------------
1120
+ GroupsControllerTest: test_: unauthenticated should deny access.
1121
+ -----------------------------------------------------------------
1122
+  (0.0ms) begin transaction
1123
+  (0.0ms) commit transaction
1124
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1130
+ ------------------------------------------------------------------------------------------
1131
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
1132
+ ------------------------------------------------------------------------------------------
1133
+  (0.0ms) begin transaction
1134
+  (0.0ms) commit transaction
1135
+  (0.0ms) begin transaction
1136
+  (0.0ms) rollback transaction
1137
+ --------------------------------------------------------------------------------------
1138
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
1139
+ --------------------------------------------------------------------------------------
1140
+  (0.0ms) begin transaction
1141
+  (0.0ms) commit transaction
1142
+  (0.0ms) begin transaction
1143
+  (0.0ms) rollback transaction
1144
+ --------------------------------------------------------------------------------------
1145
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
1146
+ --------------------------------------------------------------------------------------
1147
+  (0.0ms) begin transaction
1148
+  (0.0ms) commit transaction
1149
+  (0.0ms) begin transaction
1150
+  (0.0ms) rollback transaction
1151
+ ----------------------------------------------------------------------------------
1152
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
1153
+ ----------------------------------------------------------------------------------
1154
+  (0.0ms) begin transaction
1155
+  (0.0ms) commit transaction
1156
+  (0.0ms) begin transaction
1157
+  (0.0ms) rollback transaction
1158
+ --------------------------------------------------------------------------------------------------------------------------
1159
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
1160
+ --------------------------------------------------------------------------------------------------------------------------
1161
+  (0.1ms) begin transaction
1162
+  (0.0ms) commit transaction
1163
+  (0.1ms) begin transaction
1164
+  (0.0ms) rollback transaction
1165
+ --------------------------------------------------------------------------------------------------------------------------
1166
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
1167
+ --------------------------------------------------------------------------------------------------------------------------
1168
+  (0.0ms) begin transaction
1169
+  (0.0ms) commit transaction
1170
+  (0.0ms) begin transaction
1171
+  (0.0ms) rollback transaction
1172
+ ---------------------------------------------------------------------------------------------
1173
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
1174
+ ---------------------------------------------------------------------------------------------
1175
+  (0.0ms) begin transaction
1176
+  (0.0ms) commit transaction
1177
+  (0.0ms) begin transaction
1178
+  (0.0ms) rollback transaction
1179
+ -------------------------------------------------------------------
1180
+ MetadataControllerTest: test_: authenticated should be successful.
1181
+ -------------------------------------------------------------------
1182
+  (0.0ms) begin transaction
1183
+  (0.0ms) commit transaction
1184
+  (0.0ms) begin transaction
1185
+ Processing by Maestrano::Rails::MetadataController#index as HTML
1186
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1187
+  (0.0ms) rollback transaction
1188
+ -------------------------------------------------------------------
1189
+ MetadataControllerTest: test_: unauthenticated should deny access.
1190
+ -------------------------------------------------------------------
1191
+  (0.0ms) begin transaction
1192
+  (0.0ms) commit transaction
1193
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1198
+ --------------------------------------------------------------------------------------------------------
1199
+ UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
1200
+ --------------------------------------------------------------------------------------------------------
1201
+  (0.0ms) begin transaction
1202
+  (0.0ms) commit transaction
1203
+  (0.0ms) begin transaction
1204
+  (0.0ms) rollback transaction
1205
+ --------------------------------------------------------------------------------------------------
1206
+ UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
1207
+ --------------------------------------------------------------------------------------------------
1208
+  (0.0ms) begin transaction
1209
+  (0.0ms) commit transaction
1210
+  (0.0ms) begin transaction
1211
+  (0.1ms) rollback transaction
1212
+ ---------------------------------------------------------------------------------------
1213
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
1214
+ ---------------------------------------------------------------------------------------
1215
+  (0.1ms) begin transaction
1216
+  (0.0ms) commit transaction
1217
+  (0.0ms) begin transaction
1218
+  (0.0ms) rollback transaction
1219
+ ----------------------------------------------------------------------------------
1220
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
1221
+ ----------------------------------------------------------------------------------
1222
+  (0.0ms) begin transaction
1223
+  (0.0ms) commit transaction
1224
+  (0.0ms) begin transaction
1225
+  (0.1ms) rollback transaction
1226
+ ----------------------------------------------------------------------------------------------------------
1227
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
1228
+ ----------------------------------------------------------------------------------------------------------
1229
+  (0.0ms) begin transaction
1230
+  (0.0ms) commit transaction
1231
+  (0.0ms) begin transaction
1232
+  (0.0ms) rollback transaction
1233
+ -----------------------------------------------------------------------------------------------------
1234
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
1235
+ -----------------------------------------------------------------------------------------------------
1236
+  (0.0ms) begin transaction
1237
+  (0.0ms) commit transaction
1238
+  (0.1ms) begin transaction
1239
+  (0.0ms) rollback transaction
1240
+ ------------------------------------------------------------------------------------------------
1241
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
1242
+ ------------------------------------------------------------------------------------------------
1243
+  (0.0ms) begin transaction
1244
+  (0.0ms) commit transaction
1245
+  (0.0ms) begin transaction
1246
+  (0.0ms) rollback transaction
1247
+ ------------------------------
1248
+ MaestranoRailsTest: test_truth
1249
+ ------------------------------
1250
+  (0.0ms) begin transaction
1251
+  (0.0ms) commit transaction
1252
+  (0.0ms) begin transaction
1253
+  (0.0ms) rollback transaction
1254
+ --------------------------------------------------------------------------------------------------------------------------------------
1255
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
1256
+ --------------------------------------------------------------------------------------------------------------------------------------
1257
+  (0.0ms) begin transaction
1258
+  (0.0ms) commit transaction
1259
+  (0.0ms) begin transaction
1260
+ MnoMonster Load (0.1ms) 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
1261
+  (0.0ms) SAVEPOINT active_record_1
1262
+ SQL (0.2ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1264
+  (0.1ms) rollback transaction
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
+  (0.0ms) begin transaction
1269
+  (0.0ms) commit transaction
1270
+  (0.0ms) begin transaction
1271
+  (0.0ms) SAVEPOINT active_record_1
1272
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1274
+ MnoMonster Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1276
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1278
+  (0.1ms) rollback transaction
1279
+ --------------------------------------------------------------------------------------------------------------------------------
1280
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
1281
+ --------------------------------------------------------------------------------------------------------------------------------
1282
+  (0.0ms) begin transaction
1283
+  (0.0ms) commit transaction
1284
+  (0.0ms) begin transaction
1285
+  (0.0ms) SAVEPOINT active_record_1
1286
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1288
+ MnoMonster Load (0.1ms) 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
1289
+  (0.1ms) rollback transaction
1290
+ ---------------------------------------------------------------------------------------------------
1291
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
1292
+ ---------------------------------------------------------------------------------------------------
1293
+  (0.0ms) begin transaction
1294
+  (0.0ms) commit transaction
1295
+  (0.0ms) begin transaction
1296
+  (0.0ms) rollback transaction
1297
+ ------------------------------------------------------------------------------------------------------------
1298
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
1299
+ ------------------------------------------------------------------------------------------------------------
1300
+  (0.0ms) begin transaction
1301
+  (0.0ms) commit transaction
1302
+  (0.0ms) begin transaction
1303
+  (0.0ms) rollback transaction
1304
+ ----------------------------------------------------------------------------------------------
1305
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
1306
+ ----------------------------------------------------------------------------------------------
1307
+  (0.0ms) begin transaction
1308
+  (0.0ms) commit transaction
1309
+  (0.0ms) begin transaction
1310
+  (0.0ms) rollback transaction
1311
+ -----------------------------------------------------------------------------------------------------------------------
1312
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
1313
+ -----------------------------------------------------------------------------------------------------------------------
1314
+  (0.0ms) begin transaction
1315
+  (0.0ms) commit transaction
1316
+  (0.0ms) begin transaction
1317
+  (0.0ms) rollback transaction
1318
+ ---------------------------------------------------------------------------------------------------------------------
1319
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
1320
+ ---------------------------------------------------------------------------------------------------------------------
1321
+  (0.0ms) begin transaction
1322
+  (0.0ms) commit transaction
1323
+  (0.0ms) begin transaction
1324
+ Processing by PagesController#home as HTML
1325
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
1326
+  (0.1ms) rollback transaction
1327
+ --------------------------------------------------------------------------------------------------------------------
1328
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
1329
+ --------------------------------------------------------------------------------------------------------------------
1330
+  (0.0ms) begin transaction
1331
+  (0.0ms) commit transaction
1332
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1338
+ -----------------------------------------------------------------------------------------------------------
1339
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
1340
+ -----------------------------------------------------------------------------------------------------------
1341
+  (0.0ms) begin transaction
1342
+  (0.0ms) commit transaction
1343
+  (0.0ms) begin transaction
1344
+ Processing by PagesController#home as HTML
1345
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1346
+  (0.0ms) rollback transaction
1347
+ ------------------------------------------------------------------------------
1348
+ GenericControllerTest: test_: with no maestrano session should be successful.
1349
+ ------------------------------------------------------------------------------
1350
+  (0.0ms) begin transaction
1351
+  (0.0ms) commit transaction
1352
+  (0.0ms) begin transaction
1353
+ Processing by PagesController#home as HTML
1354
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1355
+  (0.0ms) 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
+  (0.1ms) begin transaction
1360
+  (0.0ms) commit transaction
1361
+  (0.0ms) begin transaction
1362
+ MnoCrew Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1364
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1366
+  (0.1ms) 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
+  (0.0ms) begin transaction
1371
+  (0.0ms) commit transaction
1372
+  (0.0ms) begin transaction
1373
+  (0.0ms) SAVEPOINT active_record_1
1374
+ SQL (0.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1376
+ MnoCrew Load (0.1ms) 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
1377
+  (0.0ms) SAVEPOINT active_record_1
1378
+ SQL (0.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1380
+  (0.1ms) rollback transaction
1381
+ ------------------------------------------------------------------------------------------------------------------------------
1382
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
1383
+ ------------------------------------------------------------------------------------------------------------------------------
1384
+  (0.0ms) begin transaction
1385
+  (0.0ms) commit transaction
1386
+  (0.0ms) begin transaction
1387
+  (0.0ms) SAVEPOINT active_record_1
1388
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1390
+ MnoCrew Load (0.1ms) 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
+  (0.1ms) rollback transaction
1392
+ ----------------------------------------------------------------------------------------------------
1393
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
1394
+ ----------------------------------------------------------------------------------------------------
1395
+  (0.0ms) begin transaction
1396
+  (0.0ms) commit transaction
1397
+  (0.0ms) begin transaction
1398
+  (0.0ms) rollback transaction
1399
+ -------------------------------------------------------------------------------------------------------------
1400
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
1401
+ -------------------------------------------------------------------------------------------------------------
1402
+  (0.0ms) begin transaction
1403
+  (0.0ms) commit transaction
1404
+  (0.1ms) begin transaction
1405
+  (0.0ms) rollback transaction
1406
+ -----------------------------------------------------------------------------------------------
1407
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
1408
+ -----------------------------------------------------------------------------------------------
1409
+  (0.0ms) begin transaction
1410
+  (0.0ms) commit transaction
1411
+  (0.0ms) begin transaction
1412
+  (0.0ms) rollback transaction
1413
+ ------------------------------------------------------------------------------------------------------------------------
1414
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
1415
+ ------------------------------------------------------------------------------------------------------------------------
1416
+  (0.0ms) begin transaction
1417
+  (0.0ms) commit transaction
1418
+  (0.0ms) begin transaction
1419
+  (0.0ms) rollback transaction
1420
+ -------------------------------------------------------------------------------------------
1421
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
1422
+ -------------------------------------------------------------------------------------------
1423
+  (0.0ms) begin transaction
1424
+  (0.0ms) commit transaction
1425
+  (0.0ms) begin transaction
1426
+  (0.0ms) rollback transaction
1427
+ ---------------------------------------------------------------------------------------
1428
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
1429
+ ---------------------------------------------------------------------------------------
1430
+  (0.0ms) begin transaction
1431
+  (0.0ms) commit transaction
1432
+  (0.0ms) begin transaction
1433
+  (0.0ms) rollback transaction
1434
+ ---------------------------------------------------------------------------------------
1435
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
1436
+ ---------------------------------------------------------------------------------------
1437
+  (0.0ms) begin transaction
1438
+  (0.0ms) commit transaction
1439
+  (0.0ms) begin transaction
1440
+  (0.0ms) rollback transaction
1441
+ -----------------------------------------------------------------------------------
1442
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
1443
+ -----------------------------------------------------------------------------------
1444
+  (0.0ms) begin transaction
1445
+  (0.0ms) commit transaction
1446
+  (0.0ms) begin transaction
1447
+  (0.0ms) rollback transaction
1448
+ ---------------------------------------------------------------------------------------------------------------------------
1449
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
1450
+ ---------------------------------------------------------------------------------------------------------------------------
1451
+  (0.0ms) begin transaction
1452
+  (0.0ms) commit transaction
1453
+  (0.0ms) begin transaction
1454
+  (0.0ms) rollback transaction
1455
+ ---------------------------------------------------------------------------------------------------------------------------
1456
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
1457
+ ---------------------------------------------------------------------------------------------------------------------------
1458
+  (0.0ms) begin transaction
1459
+  (0.0ms) commit transaction
1460
+  (0.0ms) begin transaction
1461
+  (0.1ms) rollback transaction
1462
+ ----------------------------------------------------------------------------------------------
1463
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
1464
+ ----------------------------------------------------------------------------------------------
1465
+  (0.0ms) begin transaction
1466
+  (0.0ms) commit transaction
1467
+  (0.0ms) begin transaction
1468
+  (0.0ms) rollback transaction
1469
+ ---------------------------------------------------------------------
1470
+ GroupUsersControllerTest: test_: authenticated should be successful.
1471
+ ---------------------------------------------------------------------
1472
+  (0.0ms) begin transaction
1473
+  (0.0ms) commit transaction
1474
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1479
+ ---------------------------------------------------------------------
1480
+ GroupUsersControllerTest: test_: unauthenticated should deny access.
1481
+ ---------------------------------------------------------------------
1482
+  (0.0ms) begin transaction
1483
+  (0.0ms) commit transaction
1484
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1
1490
  Connecting to database specified by database.yml
2
1491
   (0.3ms) begin transaction
3
1492
   (0.0ms) commit transaction
4
1493
   (0.0ms) begin transaction
5
- MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' LIMIT 1
1494
+ MnoCrew Load (0.1ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' LIMIT 1
6
1495
   (0.0ms) SAVEPOINT active_record_1
7
- SQL (8.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
1496
+ SQL (2.3ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
9
-  (0.4ms) rollback transaction
1498
+  (0.1ms) rollback transaction
10
1499
   (0.0ms) begin transaction
11
1500
   (0.0ms) commit transaction
12
1501
   (0.0ms) begin transaction
13
1502
   (0.0ms) SAVEPOINT active_record_1
14
- SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
1503
+ SQL (0.2ms) 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", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
15
1504
   (0.0ms) RELEASE SAVEPOINT active_record_1
16
1505
  MnoCrew Load (0.1ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
17
1506
   (0.0ms) SAVEPOINT active_record_1
18
- SQL (1.0ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
19
-  (0.4ms) RELEASE SAVEPOINT active_record_1
20
-  (0.3ms) rollback transaction
1507
+ SQL (0.2ms) 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", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
1508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1509
+  (0.1ms) rollback transaction
21
1510
   (0.0ms) begin transaction
22
1511
   (0.0ms) commit transaction
23
1512
   (0.0ms) begin transaction
24
1513
   (0.0ms) SAVEPOINT active_record_1
25
- SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
1514
+ SQL (0.2ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
27
- MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
28
-  (0.3ms) rollback transaction
1516
+ MnoCrew Load (0.1ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
1517
+  (0.1ms) rollback transaction
29
1518
   (0.0ms) begin transaction
30
1519
   (0.0ms) commit transaction
31
1520
   (0.0ms) begin transaction
@@ -49,30 +1538,30 @@ Connecting to database specified by database.yml
49
1538
   (0.0ms) begin transaction
50
1539
   (0.0ms) commit transaction
51
1540
   (0.0ms) begin transaction
52
- MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' LIMIT 1
1541
+ MnoMonster Load (0.1ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' LIMIT 1
53
1542
   (0.0ms) SAVEPOINT active_record_1
54
- SQL (0.3ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
1543
+ SQL (0.2ms) 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@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
   (0.0ms) RELEASE SAVEPOINT active_record_1
56
-  (0.4ms) rollback transaction
1545
+  (0.1ms) rollback transaction
57
1546
   (0.0ms) begin transaction
58
1547
   (0.0ms) commit transaction
59
1548
   (0.0ms) begin transaction
60
1549
   (0.0ms) SAVEPOINT active_record_1
61
- SQL (0.4ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
1550
+ SQL (0.2ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
63
1552
  MnoMonster Load (0.1ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' LIMIT 1
64
1553
   (0.0ms) SAVEPOINT active_record_1
65
- SQL (0.4ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["email", nil], ["first_name", nil], ["last_name", nil], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
66
-  (0.0ms) RELEASE SAVEPOINT active_record_1
67
-  (0.5ms) rollback transaction
1554
+ SQL (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1556
+  (0.1ms) rollback transaction
68
1557
   (0.0ms) begin transaction
69
1558
   (0.0ms) commit transaction
70
1559
   (0.0ms) begin transaction
71
1560
   (0.0ms) SAVEPOINT active_record_1
72
- SQL (0.3ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 07:56:32 UTC +00:00]]
1561
+ SQL (0.1ms) 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", "maestrano"], ["uid", "usr-1"], ["updated_at", Wed, 30 Jul 2014 23:56:52 UTC +00:00]]
73
1562
   (0.0ms) RELEASE SAVEPOINT active_record_1
74
1563
  MnoMonster Load (0.1ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' LIMIT 1
75
-  (2.4ms) rollback transaction
1564
+  (0.1ms) rollback transaction
76
1565
   (0.0ms) begin transaction
77
1566
   (0.0ms) commit transaction
78
1567
   (0.0ms) begin transaction
@@ -93,10 +1582,10 @@ Connecting to database specified by database.yml
93
1582
   (0.0ms) commit transaction
94
1583
   (0.0ms) begin transaction
95
1584
  Processing by PagesController#home as HTML
96
- Rendered pages/home.html.erb within layouts/application (2.0ms)
97
- Completed 200 OK in 10.9ms (Views: 10.6ms | ActiveRecord: 0.0ms)
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
   (0.0ms) rollback transaction
99
-  (0.1ms) begin transaction
1588
+  (0.0ms) begin transaction
100
1589
   (0.0ms) commit transaction
101
1590
   (0.0ms) begin transaction
102
1591
  Processing by PagesController#home as HTML
@@ -108,20 +1597,20 @@ Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
108
1597
   (0.0ms) commit transaction
109
1598
   (0.0ms) begin transaction
110
1599
  Processing by PagesController#home as HTML
111
- Completed 200 OK in 1.4ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1600
+ Completed 200 OK in 0.7ms (Views: 0.7ms | ActiveRecord: 0.0ms)
112
1601
   (0.0ms) rollback transaction
113
1602
   (0.0ms) begin transaction
114
1603
   (0.0ms) commit transaction
115
1604
   (0.0ms) begin transaction
116
1605
  Processing by PagesController#home as HTML
117
- Completed 200 OK in 0.8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1606
+ Completed 200 OK in 0.6ms (Views: 0.5ms | ActiveRecord: 0.0ms)
118
1607
   (0.0ms) rollback transaction
119
1608
   (0.0ms) begin transaction
120
1609
   (0.0ms) commit transaction
121
1610
   (0.0ms) begin transaction
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 2.1ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1613
+ Completed 200 OK in 1.0ms (Views: 0.7ms | ActiveRecord: 0.0ms)
125
1614
   (0.0ms) rollback transaction
126
1615
   (0.0ms) begin transaction
127
1616
   (0.0ms) 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
-  (0.0ms) rollback transaction
134
-  (0.0ms) begin transaction
1622
+  (0.1ms) rollback transaction
1623
+  (0.1ms) begin transaction
135
1624
   (0.0ms) commit transaction
136
1625
   (0.0ms) begin transaction
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.4ms | ActiveRecord: 0.0ms)
1628
+ Completed 200 OK in 0.6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
140
1629
   (0.0ms) rollback transaction
141
1630
   (0.0ms) begin transaction
142
1631
   (0.0ms) commit transaction
@@ -150,7 +1639,7 @@ Completed 401 Unauthorized in 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
150
1639
   (0.0ms) commit transaction
151
1640
   (0.0ms) begin transaction
152
1641
  Processing by Maestrano::Rails::MetadataController#index as HTML
153
- Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1642
+ Completed 200 OK in 1.8ms (Views: 0.5ms | ActiveRecord: 0.0ms)
154
1643
   (0.0ms) rollback transaction
155
1644
   (0.0ms) begin transaction
156
1645
   (0.0ms) 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
-  (0.0ms) rollback transaction
1650
+  (0.1ms) rollback transaction
162
1651
   (0.0ms) begin transaction
163
1652
   (0.0ms) commit transaction
164
1653
   (0.0ms) begin transaction
@@ -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.6ms (ActiveRecord: 0.0ms)
1666
+ Completed 302 Found in 0.7ms (ActiveRecord: 0.0ms)
178
1667
   (0.0ms) rollback transaction
179
1668
   (0.0ms) begin transaction
180
1669
   (0.0ms) 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.4ms (ActiveRecord: 0.0ms)
1674
+ Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
186
1675
   (0.0ms) rollback transaction
187
1676
   (0.0ms) begin transaction
188
1677
   (0.0ms) 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.4ms (ActiveRecord: 0.0ms)
1682
+ Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
194
1683
   (0.0ms) rollback transaction
195
1684
   (0.0ms) begin transaction
196
1685
   (0.0ms) 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.4ms (ActiveRecord: 0.0ms)
1698
+ Completed 302 Found in 0.5ms (ActiveRecord: 0.0ms)
210
1699
   (0.0ms) rollback transaction
211
1700
   (0.0ms) begin transaction
212
1701
   (0.0ms) commit transaction
@@ -251,10 +1740,6 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
251
1740
   (0.0ms) begin transaction
252
1741
   (0.0ms) commit transaction
253
1742
   (0.0ms) begin transaction
254
-  (0.1ms) rollback transaction
255
-  (0.0ms) begin transaction
256
-  (0.0ms) commit transaction
257
-  (0.0ms) begin transaction
258
1743
   (0.0ms) rollback transaction
259
1744
   (0.0ms) begin transaction
260
1745
   (0.0ms) commit transaction
@@ -295,7 +1780,7 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
295
1780
   (0.0ms) begin transaction
296
1781
   (0.0ms) commit transaction
297
1782
   (0.0ms) begin transaction
298
-  (0.1ms) rollback transaction
1783
+  (0.0ms) rollback transaction
299
1784
   (0.0ms) begin transaction
300
1785
   (0.0ms) commit transaction
301
1786
   (0.0ms) begin transaction
@@ -303,7 +1788,7 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
303
1788
   (0.0ms) begin transaction
304
1789
   (0.0ms) commit transaction
305
1790
   (0.0ms) begin transaction
306
-  (0.1ms) rollback transaction
1791
+  (0.0ms) rollback transaction
307
1792
   (0.0ms) begin transaction
308
1793
   (0.0ms) commit transaction
309
1794
   (0.0ms) begin transaction
@@ -324,442 +1809,593 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
324
1809
   (0.0ms) commit transaction
325
1810
   (0.0ms) begin transaction
326
1811
   (0.0ms) rollback transaction
327
- Connecting to database specified by database.yml
328
-  (0.3ms) begin transaction
329
-  (0.0ms) commit transaction
330
-  (0.0ms) begin transaction
331
- MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' LIMIT 1
332
-  (0.0ms) SAVEPOINT active_record_1
333
- SQL (3.9ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
335
-  (0.3ms) rollback transaction
336
1812
   (0.0ms) begin transaction
337
1813
   (0.0ms) commit transaction
338
1814
   (0.0ms) begin transaction
339
-  (0.0ms) SAVEPOINT active_record_1
340
- SQL (0.2ms) 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", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
341
-  (0.0ms) RELEASE SAVEPOINT active_record_1
342
- MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
343
-  (0.0ms) SAVEPOINT active_record_1
344
- SQL (0.9ms) 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", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
345
-  (0.0ms) RELEASE SAVEPOINT active_record_1
346
-  (0.3ms) rollback transaction
347
-  (0.0ms) begin transaction
348
-  (0.0ms) commit transaction
349
-  (0.0ms) begin transaction
350
-  (0.0ms) SAVEPOINT active_record_1
351
- SQL (0.2ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
353
- MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' LIMIT 1
354
-  (0.3ms) rollback transaction
355
-  (0.0ms) begin transaction
356
-  (0.0ms) commit transaction
357
-  (0.0ms) begin transaction
358
-  (0.0ms) rollback transaction
359
-  (0.0ms) begin transaction
360
-  (0.0ms) commit transaction
361
-  (0.0ms) begin transaction
362
-  (0.0ms) rollback transaction
363
-  (0.0ms) begin transaction
364
-  (0.0ms) commit transaction
365
-  (0.0ms) begin transaction
366
-  (0.0ms) rollback transaction
367
-  (0.0ms) begin transaction
368
-  (0.0ms) commit transaction
369
-  (0.0ms) begin transaction
370
-  (0.0ms) rollback transaction
371
-  (0.0ms) begin transaction
372
-  (0.0ms) commit transaction
373
-  (0.0ms) begin transaction
374
-  (0.0ms) rollback transaction
375
-  (0.0ms) begin transaction
1815
+  (0.1ms) rollback transaction
1816
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1817
+ --------------------------------------------------------------------------------------------------------------------------------------
1818
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
1819
+ --------------------------------------------------------------------------------------------------------------------------------------
1820
+  (0.1ms) begin transaction
376
1821
   (0.0ms) commit transaction
377
1822
   (0.0ms) begin transaction
378
- MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' LIMIT 1
1823
+ MnoMonster Load (0.1ms) 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
379
1824
   (0.0ms) SAVEPOINT active_record_1
380
- SQL (0.3ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
1825
+ SQL (0.2ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
382
-  (0.3ms) rollback transaction
1827
+  (0.1ms) rollback transaction
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
   (0.0ms) begin transaction
384
1832
   (0.0ms) commit transaction
385
1833
   (0.0ms) begin transaction
386
1834
   (0.0ms) SAVEPOINT active_record_1
387
- SQL (0.2ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
1835
+ SQL (0.1ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
389
- MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' LIMIT 1
1837
+ MnoMonster Load (0.1ms) 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
   (0.0ms) SAVEPOINT active_record_1
391
- SQL (0.4ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00], ["email", nil], ["first_name", nil], ["last_name", nil], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
1839
+ SQL (0.1ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
393
-  (0.3ms) rollback transaction
1841
+  (0.1ms) 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
   (0.0ms) begin transaction
395
1846
   (0.0ms) commit transaction
396
1847
   (0.0ms) begin transaction
397
-  (0.0ms) SAVEPOINT active_record_1
398
- SQL (0.3ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", Tue, 15 Jul 2014 08:18:48 UTC +00:00]]
1848
+  (0.1ms) SAVEPOINT active_record_1
1849
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
400
- MnoMonster Load (0.1ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' LIMIT 1
401
-  (0.2ms) rollback transaction
402
-  (0.0ms) begin transaction
403
-  (0.0ms) commit transaction
404
-  (0.0ms) begin transaction
405
-  (0.0ms) rollback transaction
406
-  (0.0ms) begin transaction
407
-  (0.0ms) commit transaction
408
-  (0.0ms) begin transaction
409
-  (0.0ms) rollback transaction
410
-  (0.0ms) begin transaction
411
-  (0.0ms) commit transaction
412
-  (0.0ms) begin transaction
413
-  (0.0ms) rollback transaction
1851
+ MnoMonster Load (0.1ms) 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
1852
+  (0.1ms) rollback transaction
1853
+ ---------------------------------------------------------------------------------------------------
1854
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
1855
+ ---------------------------------------------------------------------------------------------------
414
1856
   (0.0ms) begin transaction
415
1857
   (0.0ms) commit transaction
416
-  (0.0ms) begin transaction
1858
+  (0.1ms) begin transaction
417
1859
   (0.0ms) rollback transaction
1860
+ ------------------------------------------------------------------------------------------------------------
1861
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
1862
+ ------------------------------------------------------------------------------------------------------------
418
1863
   (0.0ms) begin transaction
419
1864
   (0.0ms) commit transaction
420
1865
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1867
+ ----------------------------------------------------------------------------------------------
1868
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
1869
+ ----------------------------------------------------------------------------------------------
425
1870
   (0.0ms) begin transaction
426
1871
   (0.0ms) commit transaction
427
1872
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1874
+ -----------------------------------------------------------------------------------------------------------------------
1875
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
1876
+ -----------------------------------------------------------------------------------------------------------------------
433
1877
   (0.0ms) begin transaction
434
1878
   (0.0ms) commit transaction
435
1879
   (0.0ms) begin transaction
436
- Processing by PagesController#home as HTML
437
- Completed 200 OK in 0.7ms (Views: 0.7ms | ActiveRecord: 0.0ms)
438
1880
   (0.0ms) rollback transaction
1881
+ --------------------------------------------------------------------------------------------------------
1882
+ UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
1883
+ --------------------------------------------------------------------------------------------------------
439
1884
   (0.0ms) begin transaction
440
1885
   (0.0ms) commit transaction
441
1886
   (0.0ms) begin transaction
442
- Processing by PagesController#home as HTML
443
- Completed 200 OK in 0.7ms (Views: 0.6ms | ActiveRecord: 0.0ms)
444
1887
   (0.0ms) rollback transaction
1888
+ --------------------------------------------------------------------------------------------------
1889
+ UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
1890
+ --------------------------------------------------------------------------------------------------
445
1891
   (0.0ms) begin transaction
446
1892
   (0.0ms) commit transaction
447
1893
   (0.0ms) begin transaction
448
- Processing by Maestrano::Account::GroupUsersController#destroy as HTML
449
- Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
450
- Completed 200 OK in 1.7ms (Views: 1.4ms | ActiveRecord: 0.0ms)
451
-  (0.0ms) rollback transaction
1894
+  (0.1ms) rollback transaction
1895
+ ------------------------------------------------------------------------------------------
1896
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
1897
+ ------------------------------------------------------------------------------------------
452
1898
   (0.0ms) begin transaction
453
1899
   (0.0ms) commit transaction
454
1900
   (0.0ms) 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 0.2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
459
1901
   (0.0ms) rollback transaction
1902
+ --------------------------------------------------------------------------------------
1903
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
1904
+ --------------------------------------------------------------------------------------
460
1905
   (0.0ms) begin transaction
461
1906
   (0.0ms) commit transaction
462
1907
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1909
+ --------------------------------------------------------------------------------------
1910
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
1911
+ --------------------------------------------------------------------------------------
467
1912
   (0.0ms) begin transaction
468
1913
   (0.0ms) commit transaction
469
1914
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1916
+ ----------------------------------------------------------------------------------
1917
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
1918
+ ----------------------------------------------------------------------------------
475
1919
   (0.0ms) begin transaction
476
1920
   (0.0ms) commit transaction
477
1921
   (0.0ms) begin transaction
478
- Processing by Maestrano::Rails::MetadataController#index as HTML
479
- Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.0ms)
480
1922
   (0.0ms) rollback transaction
1923
+ --------------------------------------------------------------------------------------------------------------------------
1924
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
1925
+ --------------------------------------------------------------------------------------------------------------------------
481
1926
   (0.0ms) begin transaction
482
1927
   (0.0ms) commit transaction
483
1928
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1930
+ --------------------------------------------------------------------------------------------------------------------------
1931
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
1932
+ --------------------------------------------------------------------------------------------------------------------------
488
1933
   (0.0ms) begin transaction
489
1934
   (0.0ms) commit transaction
490
1935
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1937
+ ---------------------------------------------------------------------------------------------
1938
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
1939
+ ---------------------------------------------------------------------------------------------
497
1940
   (0.0ms) begin transaction
498
1941
   (0.0ms) commit transaction
499
1942
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1944
+ ---------------------------------------------------------------------------------------
1945
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
1946
+ ---------------------------------------------------------------------------------------
505
1947
   (0.0ms) begin transaction
506
1948
   (0.0ms) commit transaction
507
1949
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
513
-  (0.0ms) begin transaction
1951
+ ----------------------------------------------------------------------------------
1952
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
1953
+ ----------------------------------------------------------------------------------
1954
+  (0.1ms) begin transaction
514
1955
   (0.0ms) commit transaction
515
1956
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1958
+ ----------------------------------------------------------------------------------------------------------
1959
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
1960
+ ----------------------------------------------------------------------------------------------------------
521
1961
   (0.0ms) begin transaction
522
1962
   (0.0ms) commit transaction
523
1963
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1965
+ -----------------------------------------------------------------------------------------------------
1966
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
1967
+ -----------------------------------------------------------------------------------------------------
529
1968
   (0.0ms) begin transaction
530
1969
   (0.0ms) commit transaction
531
1970
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1972
+ ------------------------------------------------------------------------------------------------
1973
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
1974
+ ------------------------------------------------------------------------------------------------
537
1975
   (0.0ms) begin transaction
538
1976
   (0.0ms) commit transaction
539
1977
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
1979
+ ---------------------------------------------------------------------
1980
+ GroupUsersControllerTest: test_: authenticated should be successful.
1981
+ ---------------------------------------------------------------------
545
1982
   (0.0ms) begin transaction
546
1983
   (0.0ms) commit transaction
547
1984
   (0.0ms) begin transaction
548
- Processing by Maestrano::Auth::SamlController#init as HTML
549
- Parameters: {"a_param"=>"value"}
550
- Redirected to http://idpprovider.com?r=request
551
- Completed 302 Found in 0.3ms (ActiveRecord: 0.0ms)
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
   (0.0ms) rollback transaction
1990
+ ---------------------------------------------------------------------
1991
+ GroupUsersControllerTest: test_: unauthenticated should deny access.
1992
+ ---------------------------------------------------------------------
553
1993
   (0.0ms) begin transaction
554
1994
   (0.0ms) commit transaction
555
1995
   (0.0ms) begin transaction
556
- Processing by Maestrano::Auth::SamlController#init as HTML
557
- Parameters: {"a_param"=>"value"}
558
- Redirected to http://idpprovider.com?r=request
559
- Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
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
   (0.0ms) rollback transaction
2001
+ -------------------------------------------------------------------------------------------
2002
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
2003
+ -------------------------------------------------------------------------------------------
561
2004
   (0.0ms) begin transaction
562
2005
   (0.0ms) commit transaction
563
2006
   (0.0ms) begin transaction
564
-  (0.1ms) rollback transaction
2007
+  (0.0ms) rollback transaction
2008
+ ---------------------------------------------------------------------------------------
2009
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
2010
+ ---------------------------------------------------------------------------------------
565
2011
   (0.0ms) begin transaction
566
2012
   (0.0ms) commit transaction
567
2013
   (0.0ms) begin transaction
568
2014
   (0.0ms) rollback transaction
2015
+ ---------------------------------------------------------------------------------------
2016
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
2017
+ ---------------------------------------------------------------------------------------
569
2018
   (0.0ms) begin transaction
570
2019
   (0.0ms) commit transaction
571
2020
   (0.0ms) begin transaction
572
-  (0.0ms) rollback transaction
2021
+  (0.1ms) rollback transaction
2022
+ -----------------------------------------------------------------------------------
2023
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
2024
+ -----------------------------------------------------------------------------------
573
2025
   (0.0ms) begin transaction
574
2026
   (0.0ms) commit transaction
575
2027
   (0.0ms) begin transaction
576
2028
   (0.0ms) rollback transaction
2029
+ ---------------------------------------------------------------------------------------------------------------------------
2030
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
2031
+ ---------------------------------------------------------------------------------------------------------------------------
577
2032
   (0.0ms) begin transaction
578
2033
   (0.0ms) commit transaction
579
2034
   (0.0ms) begin transaction
580
2035
   (0.1ms) rollback transaction
2036
+ ---------------------------------------------------------------------------------------------------------------------------
2037
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
2038
+ ---------------------------------------------------------------------------------------------------------------------------
581
2039
   (0.0ms) begin transaction
582
2040
   (0.0ms) commit transaction
583
2041
   (0.0ms) begin transaction
584
2042
   (0.0ms) rollback transaction
585
-  (0.0ms) begin transaction
2043
+ ----------------------------------------------------------------------------------------------
2044
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
2045
+ ----------------------------------------------------------------------------------------------
2046
+  (0.1ms) begin transaction
586
2047
   (0.0ms) commit transaction
587
2048
   (0.0ms) begin transaction
588
2049
   (0.0ms) rollback transaction
2050
+ ------------------------------
2051
+ MaestranoRailsTest: test_truth
2052
+ ------------------------------
589
2053
   (0.0ms) begin transaction
590
2054
   (0.0ms) commit transaction
591
2055
   (0.0ms) begin transaction
592
2056
   (0.0ms) rollback transaction
2057
+ ----------------------------------------------------------------------------------------------------------
2058
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
2059
+ ----------------------------------------------------------------------------------------------------------
593
2060
   (0.0ms) begin transaction
594
2061
   (0.0ms) commit transaction
595
2062
   (0.0ms) begin transaction
596
2063
   (0.0ms) rollback transaction
2064
+ ----------------------------------------------------------------------------------------------------
2065
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
2066
+ ----------------------------------------------------------------------------------------------------
597
2067
   (0.0ms) begin transaction
598
2068
   (0.0ms) commit transaction
599
2069
   (0.0ms) begin transaction
600
-  (0.0ms) rollback transaction
2070
+  (0.1ms) rollback transaction
2071
+ ---------------------------------------------------------------------------------------------------------------------
2072
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
2073
+ ---------------------------------------------------------------------------------------------------------------------
601
2074
   (0.0ms) begin transaction
602
2075
   (0.0ms) commit transaction
603
2076
   (0.1ms) begin transaction
604
-  (0.0ms) rollback transaction
2077
+ Processing by PagesController#home as HTML
2078
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
2079
+  (0.1ms) rollback transaction
2080
+ --------------------------------------------------------------------------------------------------------------------
2081
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
2082
+ --------------------------------------------------------------------------------------------------------------------
605
2083
   (0.0ms) begin transaction
606
2084
   (0.0ms) commit transaction
607
2085
   (0.0ms) begin transaction
608
-  (0.1ms) rollback transaction
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
+  (0.0ms) rollback transaction
2091
+ -----------------------------------------------------------------------------------------------------------
2092
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
2093
+ -----------------------------------------------------------------------------------------------------------
609
2094
   (0.0ms) begin transaction
610
2095
   (0.0ms) commit transaction
611
2096
   (0.0ms) begin transaction
2097
+ Processing by PagesController#home as HTML
2098
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
612
2099
   (0.0ms) rollback transaction
2100
+ ------------------------------------------------------------------------------
2101
+ GenericControllerTest: test_: with no maestrano session should be successful.
2102
+ ------------------------------------------------------------------------------
613
2103
   (0.0ms) begin transaction
614
2104
   (0.0ms) commit transaction
615
2105
   (0.0ms) begin transaction
2106
+ Processing by PagesController#home as HTML
2107
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
616
2108
   (0.0ms) rollback transaction
2109
+ ----------------------------------------------------------------------------------------------
2110
+ SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
2111
+ ----------------------------------------------------------------------------------------------
617
2112
   (0.0ms) begin transaction
618
2113
   (0.0ms) commit transaction
619
2114
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
2121
+ --------------------------------------------------------------------------------------------------------------------
2122
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
2123
+ --------------------------------------------------------------------------------------------------------------------
621
2124
   (0.0ms) begin transaction
622
2125
   (0.0ms) commit transaction
623
2126
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
2132
+ ---------------------------------------------------------------------------------
2133
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
2134
+ ---------------------------------------------------------------------------------
625
2135
   (0.0ms) begin transaction
626
2136
   (0.0ms) commit transaction
627
2137
   (0.0ms) begin transaction
628
-  (0.0ms) rollback transaction
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
+  (0.1ms) rollback transaction
2143
+ --------------------------------------------------------------------------------------
2144
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
2145
+ --------------------------------------------------------------------------------------
629
2146
   (0.0ms) begin transaction
630
2147
   (0.0ms) commit transaction
631
2148
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
2154
+ -------------------------------------------------------------------------------
2155
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
2156
+ -------------------------------------------------------------------------------
633
2157
   (0.0ms) begin transaction
634
-  (0.0ms) commit transaction
2158
+  (0.1ms) commit transaction
635
2159
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
2165
+ -------------------------------------------------------------------------------------
2166
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
2167
+ -------------------------------------------------------------------------------------
637
2168
   (0.0ms) begin transaction
638
2169
   (0.0ms) commit transaction
639
2170
   (0.0ms) begin transaction
640
-  (0.1ms) rollback transaction
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
+  (0.0ms) rollback transaction
2176
+ ------------------------------------------------------------------------------------------
2177
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
2178
+ ------------------------------------------------------------------------------------------
641
2179
   (0.0ms) begin transaction
642
2180
   (0.0ms) commit transaction
643
2181
   (0.0ms) begin transaction
644
-  (0.1ms) rollback transaction
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
+  (0.0ms) rollback transaction
2187
+ ---------------------------------------------------------------------------------------------------------------------------
2188
+ SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
2189
+ ---------------------------------------------------------------------------------------------------------------------------
645
2190
   (0.0ms) begin transaction
646
2191
   (0.0ms) commit transaction
647
2192
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
2198
+ -----------------------------------------------------------------------------------------------------------------------
2199
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
2200
+ -----------------------------------------------------------------------------------------------------------------------
649
2201
   (0.0ms) begin transaction
650
2202
   (0.0ms) commit transaction
651
2203
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
653
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
654
- ---------------------------------------------------------------------------------------------------------------------
655
- GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
656
- ---------------------------------------------------------------------------------------------------------------------
657
-  (0.1ms) begin transaction
2209
+ ---------------------------------------------------------------------------------------------------------------------------------------
2210
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
2211
+ ---------------------------------------------------------------------------------------------------------------------------------------
2212
+  (0.0ms) begin transaction
2213
+  (0.0ms) commit transaction
2214
+  (0.0ms) begin transaction
2215
+ MnoCrew Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
2217
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2219
+  (0.1ms) 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
+  (0.0ms) begin transaction
2224
+  (0.0ms) commit transaction
2225
+  (0.0ms) begin transaction
2226
+  (0.0ms) SAVEPOINT active_record_1
2227
+ SQL (0.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2229
+ MnoCrew Load (0.1ms) 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
2230
+  (0.0ms) SAVEPOINT active_record_1
2231
+ SQL (0.1ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2233
+  (0.1ms) rollback transaction
2234
+ ------------------------------------------------------------------------------------------------------------------------------
2235
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
2236
+ ------------------------------------------------------------------------------------------------------------------------------
2237
+  (0.0ms) begin transaction
658
2238
   (0.0ms) commit transaction
659
2239
   (0.0ms) begin transaction
660
- Processing by PagesController#home as HTML
661
- Rendered pages/home.html.erb within layouts/application (0.4ms)
662
- Completed 200 OK in 26ms (Views: 26.2ms | ActiveRecord: 0.0ms)
2240
+  (0.0ms) SAVEPOINT active_record_1
2241
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2243
+ MnoCrew Load (0.1ms) 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
   (0.1ms) rollback transaction
664
- --------------------------------------------------------------------------------------------------------------------
665
- GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
666
- --------------------------------------------------------------------------------------------------------------------
2245
+ ----------------------------------------------------------------------------------------------------
2246
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
2247
+ ----------------------------------------------------------------------------------------------------
667
2248
   (0.0ms) begin transaction
668
2249
   (0.0ms) commit transaction
669
2250
   (0.0ms) begin transaction
670
- Processing by PagesController#home as HTML
671
- Redirected to http://localhost::3000/maestrano/auth/saml/init
672
- Filter chain halted as :verify_maestrano_session rendered or redirected
673
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
674
-  (0.1ms) rollback transaction
675
- -----------------------------------------------------------------------------------------------------------
676
- GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
677
- -----------------------------------------------------------------------------------------------------------
678
-  (0.1ms) begin transaction
2251
+  (0.0ms) rollback transaction
2252
+ -------------------------------------------------------------------------------------------------------------
2253
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
2254
+ -------------------------------------------------------------------------------------------------------------
2255
+  (0.0ms) begin transaction
679
2256
   (0.0ms) commit transaction
680
-  (0.1ms) begin transaction
681
- Processing by PagesController#home as HTML
682
- Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2257
+  (0.0ms) begin transaction
683
2258
   (0.0ms) rollback transaction
684
- ------------------------------------------------------------------------------
685
- GenericControllerTest: test_: with no maestrano session should be successful.
686
- ------------------------------------------------------------------------------
2259
+ -----------------------------------------------------------------------------------------------
2260
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
2261
+ -----------------------------------------------------------------------------------------------
2262
+  (0.0ms) begin transaction
2263
+  (0.0ms) commit transaction
687
2264
   (0.0ms) begin transaction
688
-  (0.1ms) commit transaction
689
-  (0.1ms) begin transaction
690
- Processing by PagesController#home as HTML
691
- Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
692
2265
   (0.0ms) rollback transaction
693
- --------------------------------------------------------------------------------------------------------------------------------------
694
- MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
695
- --------------------------------------------------------------------------------------------------------------------------------------
2266
+ ------------------------------------------------------------------------------------------------------------------------
2267
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
2268
+ ------------------------------------------------------------------------------------------------------------------------
696
2269
   (0.0ms) begin transaction
697
2270
   (0.0ms) commit transaction
698
2271
   (0.0ms) begin transaction
699
- MnoMonster Load (0.4ms) 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
700
-  (0.1ms) SAVEPOINT active_record_1
701
- SQL (0.6ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.181641"], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-31 08:01:23.181641"]]
702
-  (0.0ms) RELEASE SAVEPOINT active_record_1
703
-  (0.3ms) rollback transaction
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
+  (0.0ms) rollback transaction
2273
+ -------------------------------------------------------------------
2274
+ MetadataControllerTest: test_: authenticated should be successful.
2275
+ -------------------------------------------------------------------
707
2276
   (0.0ms) begin transaction
708
2277
   (0.0ms) commit transaction
709
2278
   (0.0ms) begin transaction
710
-  (0.0ms) SAVEPOINT active_record_1
711
- SQL (0.2ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.186468"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.186468"]]
712
-  (0.0ms) RELEASE SAVEPOINT active_record_1
713
- MnoMonster Load (0.1ms) 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
714
-  (0.0ms) SAVEPOINT active_record_1
715
- SQL (0.6ms) INSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.187899"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.187899"]]
716
-  (0.0ms) RELEASE SAVEPOINT active_record_1
717
-  (0.2ms) rollback transaction
718
- --------------------------------------------------------------------------------------------------------------------------------
719
- MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
720
- --------------------------------------------------------------------------------------------------------------------------------
2279
+ Processing by Maestrano::Rails::MetadataController#index as HTML
2280
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2281
+  (0.0ms) rollback transaction
2282
+ -------------------------------------------------------------------
2283
+ MetadataControllerTest: test_: unauthenticated should deny access.
2284
+ -------------------------------------------------------------------
2285
+  (0.0ms) begin transaction
2286
+  (0.0ms) commit transaction
2287
+  (0.0ms) 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
+  (0.1ms) rollback transaction
2292
+ -----------------------------------------------------------------
2293
+ GroupsControllerTest: test_: authenticated should be successful.
2294
+ -----------------------------------------------------------------
2295
+  (0.0ms) begin transaction
2296
+  (0.0ms) commit transaction
2297
+  (0.0ms) 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
+  (0.0ms) rollback transaction
2302
+ -----------------------------------------------------------------
2303
+ GroupsControllerTest: test_: unauthenticated should deny access.
2304
+ -----------------------------------------------------------------
2305
+  (0.0ms) begin transaction
2306
+  (0.1ms) commit transaction
2307
+  (0.0ms) 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
+  (0.0ms) rollback transaction
2313
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2314
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2315
+ -------------------------------------------------------------------------------------------
2316
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
2317
+ -------------------------------------------------------------------------------------------
2318
+  (0.1ms) begin transaction
2319
+  (0.1ms) commit transaction
2320
+  (0.0ms) begin transaction
2321
+  (0.0ms) rollback transaction
2322
+ ---------------------------------------------------------------------------------------
2323
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
2324
+ ---------------------------------------------------------------------------------------
721
2325
   (0.0ms) begin transaction
722
2326
   (0.0ms) commit transaction
723
2327
   (0.0ms) begin transaction
724
-  (0.0ms) SAVEPOINT active_record_1
725
- SQL (0.1ms) INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.190045"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.190045"]]
726
-  (0.0ms) RELEASE SAVEPOINT active_record_1
727
- MnoMonster Load (0.1ms) 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
728
-  (0.2ms) rollback transaction
729
- ---------------------------------------------------------------------------------------------------
730
- MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
731
- ---------------------------------------------------------------------------------------------------
2328
+  (0.0ms) rollback transaction
2329
+ ---------------------------------------------------------------------------------------
2330
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
2331
+ ---------------------------------------------------------------------------------------
732
2332
   (0.0ms) begin transaction
733
2333
   (0.0ms) commit transaction
734
2334
   (0.0ms) begin transaction
735
2335
   (0.0ms) rollback transaction
736
- ------------------------------------------------------------------------------------------------------------
737
- MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
738
- ------------------------------------------------------------------------------------------------------------
2336
+ -----------------------------------------------------------------------------------
2337
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
2338
+ -----------------------------------------------------------------------------------
2339
+  (0.0ms) begin transaction
2340
+  (0.0ms) commit transaction
2341
+  (0.0ms) begin transaction
2342
+  (0.0ms) rollback transaction
2343
+ ---------------------------------------------------------------------------------------------------------------------------
2344
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
2345
+ ---------------------------------------------------------------------------------------------------------------------------
2346
+  (0.0ms) begin transaction
2347
+  (0.0ms) commit transaction
2348
+  (0.0ms) begin transaction
2349
+  (0.0ms) rollback transaction
2350
+ ---------------------------------------------------------------------------------------------------------------------------
2351
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
2352
+ ---------------------------------------------------------------------------------------------------------------------------
739
2353
   (0.0ms) begin transaction
740
2354
   (0.0ms) commit transaction
741
2355
   (0.0ms) begin transaction
742
2356
   (0.0ms) rollback transaction
743
2357
  ----------------------------------------------------------------------------------------------
744
- MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
2358
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
745
2359
  ----------------------------------------------------------------------------------------------
746
2360
   (0.0ms) begin transaction
747
2361
   (0.0ms) commit transaction
748
2362
   (0.0ms) begin transaction
749
2363
   (0.0ms) rollback transaction
750
- -----------------------------------------------------------------------------------------------------------------------
751
- MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
752
- -----------------------------------------------------------------------------------------------------------------------
2364
+ ----------------------------------------------------------------------------------------------------------
2365
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
2366
+ ----------------------------------------------------------------------------------------------------------
2367
+  (0.0ms) begin transaction
2368
+  (0.0ms) commit transaction
2369
+  (0.0ms) begin transaction
2370
+  (0.1ms) rollback transaction
2371
+ ----------------------------------------------------------------------------------------------------
2372
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
2373
+ ----------------------------------------------------------------------------------------------------
753
2374
   (0.0ms) begin transaction
754
2375
   (0.0ms) commit transaction
755
2376
   (0.0ms) begin transaction
756
2377
   (0.0ms) rollback transaction
757
- ------------------------------
758
- MaestranoRailsTest: test_truth
759
- ------------------------------
2378
+ -----------------------------------------------------------------
2379
+ GroupsControllerTest: test_: authenticated should be successful.
2380
+ -----------------------------------------------------------------
2381
+  (0.0ms) begin transaction
2382
+  (0.0ms) commit transaction
2383
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
2389
+ -----------------------------------------------------------------
2390
+ GroupsControllerTest: test_: unauthenticated should deny access.
2391
+ -----------------------------------------------------------------
760
2392
   (0.0ms) begin transaction
761
2393
   (0.0ms) commit transaction
762
2394
   (0.0ms) begin transaction
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
   (0.0ms) 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
   (0.0ms) begin transaction
768
2404
   (0.0ms) commit transaction
769
2405
   (0.0ms) begin transaction
770
-  (0.1ms) rollback transaction
2406
+  (0.0ms) rollback transaction
771
2407
  ----------------------------------------------------------------------------------
772
2408
  InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
773
2409
  ----------------------------------------------------------------------------------
774
2410
   (0.0ms) begin transaction
775
-  (0.4ms) commit transaction
2411
+  (0.0ms) commit transaction
776
2412
   (0.0ms) begin transaction
777
-  (0.1ms) rollback transaction
2413
+  (0.0ms) 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
-  (0.1ms) begin transaction
2424
+  (0.0ms) begin transaction
789
2425
   (0.0ms) commit transaction
790
2426
   (0.0ms) begin transaction
791
2427
   (0.1ms) rollback transaction
792
2428
  ------------------------------------------------------------------------------------------------
793
2429
  InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
794
2430
  ------------------------------------------------------------------------------------------------
795
-  (0.1ms) begin transaction
2431
+  (0.0ms) begin transaction
796
2432
   (0.0ms) commit transaction
797
2433
   (0.0ms) begin transaction
798
-  (0.1ms) rollback transaction
799
- ----------------------------------------------------------------------------------------------
800
- SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
801
- ----------------------------------------------------------------------------------------------
2434
+  (0.0ms) rollback transaction
2435
+ ------------------------------
2436
+ MaestranoRailsTest: test_truth
2437
+ ------------------------------
802
2438
   (0.1ms) begin transaction
803
2439
   (0.0ms) commit transaction
804
2440
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
811
- --------------------------------------------------------------------------------------------------------------------
812
- SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
813
- --------------------------------------------------------------------------------------------------------------------
814
-  (0.0ms) begin transaction
815
-  (0.0ms) commit transaction
2442
+ -------------------------------------------------------------------
2443
+ MetadataControllerTest: test_: authenticated should be successful.
2444
+ -------------------------------------------------------------------
2445
+  (0.1ms) begin transaction
2446
+  (0.1ms) commit transaction
816
2447
   (0.0ms) begin transaction
817
- Processing by Maestrano::Auth::SamlController#consume as HTML
818
- Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
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
   (0.0ms) rollback transaction
822
- ---------------------------------------------------------------------------------
823
- SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
824
- ---------------------------------------------------------------------------------
2451
+ -------------------------------------------------------------------
2452
+ MetadataControllerTest: test_: unauthenticated should deny access.
2453
+ -------------------------------------------------------------------
825
2454
   (0.0ms) begin transaction
826
2455
   (0.0ms) commit transaction
827
2456
   (0.0ms) begin transaction
828
- Processing by Maestrano::Auth::SamlController#consume as HTML
829
- Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
830
- Redirected to http://test.host/
831
- Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
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
+  (0.1ms) rollback transaction
2461
+ ------------------------------------------------------------------------------------------
2462
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
2463
+ ------------------------------------------------------------------------------------------
2464
+  (0.1ms) begin transaction
2465
+  (0.0ms) commit transaction
2466
+  (0.0ms) begin transaction
832
2467
   (0.0ms) rollback transaction
833
2468
  --------------------------------------------------------------------------------------
834
- SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
2469
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
835
2470
  --------------------------------------------------------------------------------------
836
2471
   (0.0ms) begin transaction
837
2472
   (0.0ms) commit transaction
838
2473
   (0.0ms) begin transaction
839
- Processing by Maestrano::Auth::SamlController#consume as HTML
840
- Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
841
- Redirected to http://test.host/
842
- Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
843
-  (0.0ms) rollback transaction
844
- -------------------------------------------------------------------------------
845
- SamlBaseControllerTest: test_: consume phase should set the maestrano session.
846
- -------------------------------------------------------------------------------
2474
+  (0.1ms) rollback transaction
2475
+ --------------------------------------------------------------------------------------
2476
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
2477
+ --------------------------------------------------------------------------------------
847
2478
   (0.0ms) begin transaction
848
2479
   (0.0ms) commit transaction
849
2480
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
855
- -------------------------------------------------------------------------------------
856
- SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
857
- -------------------------------------------------------------------------------------
858
-  (0.1ms) begin transaction
859
-  (0.0ms) commit transaction
2482
+ ----------------------------------------------------------------------------------
2483
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
2484
+ ----------------------------------------------------------------------------------
860
2485
   (0.0ms) begin transaction
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
-  (0.0ms) rollback transaction
866
- ------------------------------------------------------------------------------------------
867
- SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
868
- ------------------------------------------------------------------------------------------
869
-  (0.1ms) begin transaction
870
2486
   (0.0ms) commit transaction
871
2487
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
877
- ---------------------------------------------------------------------------------------------------------------------------
878
- SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
879
- ---------------------------------------------------------------------------------------------------------------------------
2489
+ --------------------------------------------------------------------------------------------------------------------------
2490
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
2491
+ --------------------------------------------------------------------------------------------------------------------------
880
2492
   (0.0ms) begin transaction
881
2493
   (0.0ms) commit transaction
882
2494
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
888
- -----------------------------------------------------------------------------------------------------------------------
889
- SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
890
- -----------------------------------------------------------------------------------------------------------------------
2496
+ --------------------------------------------------------------------------------------------------------------------------
2497
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
2498
+ --------------------------------------------------------------------------------------------------------------------------
891
2499
   (0.0ms) begin transaction
892
2500
   (0.0ms) commit transaction
893
2501
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
899
- -----------------------------------------------------------------
900
- GroupsControllerTest: test_: authenticated should be successful.
901
- -----------------------------------------------------------------
2503
+ ---------------------------------------------------------------------------------------------
2504
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
2505
+ ---------------------------------------------------------------------------------------------
902
2506
   (0.0ms) begin transaction
903
2507
   (0.0ms) commit transaction
904
2508
   (0.0ms) begin transaction
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
   (0.0ms) rollback transaction
909
- -----------------------------------------------------------------
910
- GroupsControllerTest: test_: unauthenticated should deny access.
911
- -----------------------------------------------------------------
912
-  (0.0ms) begin transaction
913
-  (0.0ms) commit transaction
914
-  (0.0ms) begin transaction
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
-  (0.1ms) rollback transaction
920
2510
  --------------------------------------------------------------------------------------------------------
921
2511
  UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
922
2512
  --------------------------------------------------------------------------------------------------------
923
-  (0.0ms) begin transaction
2513
+  (0.1ms) begin transaction
924
2514
   (0.0ms) commit transaction
925
2515
   (0.0ms) begin transaction
926
-  (0.0ms) rollback transaction
2516
+  (0.1ms) 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
   (0.0ms) commit transaction
932
2522
   (0.0ms) begin transaction
933
2523
   (0.0ms) rollback transaction
934
- -------------------------------------------------------------------
935
- MetadataControllerTest: test_: authenticated should be successful.
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
   (0.1ms) begin transaction
938
2528
   (0.0ms) commit transaction
939
2529
   (0.0ms) begin transaction
940
- Processing by Maestrano::Rails::MetadataController#index as HTML
941
- Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
942
-  (0.0ms) rollback transaction
943
- -------------------------------------------------------------------
944
- MetadataControllerTest: test_: unauthenticated should deny access.
945
- -------------------------------------------------------------------
946
-  (0.0ms) begin transaction
947
-  (0.0ms) commit transaction
948
-  (0.0ms) begin transaction
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
-  (0.1ms) 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
-  (0.0ms) begin transaction
957
-  (0.0ms) commit transaction
958
-  (0.0ms) begin transaction
959
- MnoCrew Load (0.3ms) 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
+ MnoMonster Load (0.2ms) 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
   (0.0ms) SAVEPOINT active_record_1
961
- SQL (0.3ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.328273"], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-31 08:01:23.328273"]]
2532
+ SQL (0.4ms) 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
   (0.0ms) RELEASE SAVEPOINT active_record_1
963
-  (0.3ms) rollback transaction
964
- ------------------------------------------------------------------------------------------------------------------------------------------------------
965
- MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
966
- ------------------------------------------------------------------------------------------------------------------------------------------------------
2534
+  (0.1ms) 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
   (0.0ms) begin transaction
968
2539
   (0.0ms) commit transaction
969
2540
   (0.0ms) begin transaction
970
2541
   (0.0ms) SAVEPOINT active_record_1
971
- SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.330662"], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.330662"]]
2542
+ SQL (0.1ms) 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", "someoneelse"], ["uid", "usr-1"], ["created_at", "2015-09-15 00:47:57.213401"], ["updated_at", "2015-09-15 00:47:57.213401"]]
972
2543
   (0.0ms) RELEASE SAVEPOINT active_record_1
973
- MnoCrew Load (0.1ms) 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
2544
+ MnoMonster Load (0.0ms) 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"]]
974
2545
   (0.0ms) SAVEPOINT active_record_1
975
- SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.331956"], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-31 08:01:23.331956"]]
2546
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
977
-  (0.3ms) rollback transaction
978
- ------------------------------------------------------------------------------------------------------------------------------
979
- MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
980
- ------------------------------------------------------------------------------------------------------------------------------
2548
+  (0.1ms) rollback transaction
2549
+ --------------------------------------------------------------------------------------------------------------------------------
2550
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
2551
+ --------------------------------------------------------------------------------------------------------------------------------
981
2552
   (0.0ms) begin transaction
982
2553
   (0.0ms) commit transaction
983
2554
   (0.0ms) begin transaction
984
2555
   (0.0ms) SAVEPOINT active_record_1
985
- SQL (0.2ms) INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.333704"], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-31 08:01:23.333704"]]
986
-  (0.1ms) RELEASE SAVEPOINT active_record_1
987
- MnoCrew Load (0.1ms) 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
988
-  (0.3ms) rollback transaction
989
- ----------------------------------------------------------------------------------------------------
990
- MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
991
- ----------------------------------------------------------------------------------------------------
2556
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2558
+ MnoMonster Load (0.0ms) 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
+  (0.1ms) rollback transaction
2560
+ ---------------------------------------------------------------------------------------------------
2561
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
2562
+ ---------------------------------------------------------------------------------------------------
992
2563
   (0.0ms) begin transaction
993
2564
   (0.0ms) commit transaction
994
2565
   (0.0ms) begin transaction
995
2566
   (0.0ms) rollback transaction
996
- -------------------------------------------------------------------------------------------------------------
997
- MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
998
- -------------------------------------------------------------------------------------------------------------
2567
+ ------------------------------------------------------------------------------------------------------------
2568
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
2569
+ ------------------------------------------------------------------------------------------------------------
999
2570
   (0.0ms) begin transaction
1000
2571
   (0.0ms) commit transaction
1001
2572
   (0.0ms) begin transaction
1002
2573
   (0.0ms) rollback transaction
1003
- -----------------------------------------------------------------------------------------------
1004
- MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
1005
- -----------------------------------------------------------------------------------------------
2574
+ ----------------------------------------------------------------------------------------------
2575
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
2576
+ ----------------------------------------------------------------------------------------------
2577
+  (0.0ms) begin transaction
2578
+  (0.0ms) commit transaction
2579
+  (0.0ms) begin transaction
2580
+  (0.1ms) rollback transaction
2581
+ -----------------------------------------------------------------------------------------------------------------------
2582
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
2583
+ -----------------------------------------------------------------------------------------------------------------------
1006
2584
   (0.0ms) begin transaction
1007
2585
   (0.0ms) commit transaction
1008
2586
   (0.0ms) begin transaction
1009
2587
   (0.0ms) rollback transaction
1010
- ------------------------------------------------------------------------------------------------------------------------
1011
- MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
1012
- ------------------------------------------------------------------------------------------------------------------------
2588
+ ---------------------------------------------------------------------------------------------------------------------
2589
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
2590
+ ---------------------------------------------------------------------------------------------------------------------
2591
+  (0.0ms) begin transaction
2592
+  (0.0ms) commit transaction
2593
+  (0.0ms) 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
+  (0.1ms) rollback transaction
2598
+ --------------------------------------------------------------------------------------------------------------------
2599
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
2600
+ --------------------------------------------------------------------------------------------------------------------
2601
+  (0.0ms) begin transaction
2602
+  (0.0ms) commit transaction
2603
+  (0.0ms) 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
+  (0.0ms) rollback transaction
2609
+ -----------------------------------------------------------------------------------------------------------
2610
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
2611
+ -----------------------------------------------------------------------------------------------------------
2612
+  (0.0ms) begin transaction
2613
+  (0.0ms) commit transaction
2614
+  (0.0ms) 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
+  (0.0ms) rollback transaction
2619
+ ------------------------------------------------------------------------------
2620
+ GenericControllerTest: test_: with no maestrano session should be successful.
2621
+ ------------------------------------------------------------------------------
1013
2622
   (0.0ms) begin transaction
1014
2623
   (0.0ms) commit transaction
1015
2624
   (0.0ms) 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
   (0.0ms) rollback transaction
1017
2629
  ---------------------------------------------------------------------
1018
2630
  GroupUsersControllerTest: test_: authenticated should be successful.
@@ -1022,6 +2634,7 @@ GroupUsersControllerTest: test_: authenticated should be successful.
1022
2634
   (0.0ms) 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
   (0.0ms) rollback transaction
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
   (0.0ms) rollback transaction
1038
- -------------------------------------------------------------------------------------------
1039
- ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
1040
- -------------------------------------------------------------------------------------------
1041
-  (0.0ms) begin transaction
1042
-  (0.0ms) commit transaction
1043
-  (0.0ms) begin transaction
1044
-  (0.0ms) rollback transaction
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
   (0.1ms) begin transaction
1049
2655
   (0.0ms) commit transaction
1050
2656
   (0.0ms) 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
   (0.0ms) rollback transaction
1052
- ---------------------------------------------------------------------------------------
1053
- ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
1054
- ---------------------------------------------------------------------------------------
2663
+ --------------------------------------------------------------------------------------------------------------------
2664
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
2665
+ --------------------------------------------------------------------------------------------------------------------
1055
2666
   (0.0ms) begin transaction
1056
2667
   (0.0ms) commit transaction
1057
2668
   (0.0ms) 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
   (0.0ms) rollback transaction
1059
- -----------------------------------------------------------------------------------
1060
- ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
1061
- -----------------------------------------------------------------------------------
2674
+ ---------------------------------------------------------------------------------
2675
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
2676
+ ---------------------------------------------------------------------------------
1062
2677
   (0.0ms) begin transaction
1063
2678
   (0.0ms) commit transaction
1064
2679
   (0.0ms) 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
   (0.0ms) rollback transaction
1066
- ---------------------------------------------------------------------------------------------------------------------------
1067
- ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
1068
- ---------------------------------------------------------------------------------------------------------------------------
1069
-  (0.0ms) begin transaction
1070
-  (0.0ms) commit transaction
2685
+ --------------------------------------------------------------------------------------
2686
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
2687
+ --------------------------------------------------------------------------------------
1071
2688
   (0.0ms) begin transaction
1072
-  (0.1ms) rollback transaction
1073
- ---------------------------------------------------------------------------------------------------------------------------
1074
- ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
1075
- ---------------------------------------------------------------------------------------------------------------------------
1076
-  (0.1ms) begin transaction
1077
2689
   (0.0ms) commit transaction
1078
2690
   (0.0ms) begin transaction
1079
-  (0.1ms) rollback transaction
1080
- ----------------------------------------------------------------------------------------------
1081
- ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
1082
- ----------------------------------------------------------------------------------------------
1083
-  (0.0ms) begin transaction
1084
-  (0.1ms) commit transaction
1085
-  (0.0ms) begin transaction
1086
-  (0.1ms) rollback transaction
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
+  (0.0ms) rollback transaction
2696
+ -------------------------------------------------------------------------------
2697
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
2698
+ -------------------------------------------------------------------------------
1090
2699
   (0.0ms) begin transaction
1091
2700
   (0.0ms) commit transaction
1092
2701
   (0.0ms) 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
   (0.0ms) rollback transaction
1094
- ----------------------------------------------------------------------------------------------------
1095
- GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
1096
- ----------------------------------------------------------------------------------------------------
2707
+ -------------------------------------------------------------------------------------
2708
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
2709
+ -------------------------------------------------------------------------------------
1097
2710
   (0.0ms) begin transaction
1098
2711
   (0.0ms) commit transaction
1099
2712
   (0.0ms) begin transaction
1100
-  (0.1ms) rollback transaction
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
+  (0.0ms) rollback transaction
1101
2718
  ------------------------------------------------------------------------------------------
1102
- ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
2719
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
1103
2720
  ------------------------------------------------------------------------------------------
1104
2721
   (0.0ms) begin transaction
1105
2722
   (0.0ms) commit transaction
1106
2723
   (0.0ms) 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
   (0.0ms) rollback transaction
1108
- --------------------------------------------------------------------------------------
1109
- ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
1110
- --------------------------------------------------------------------------------------
1111
-  (0.0ms) begin transaction
1112
-  (0.0ms) commit transaction
1113
-  (0.0ms) begin transaction
1114
-  (0.0ms) rollback transaction
1115
- --------------------------------------------------------------------------------------
1116
- ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
1117
- --------------------------------------------------------------------------------------
1118
-  (0.0ms) begin transaction
1119
-  (0.0ms) commit transaction
1120
-  (0.0ms) begin transaction
1121
-  (0.1ms) rollback transaction
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
   (0.0ms) begin transaction
1126
2733
   (0.0ms) commit transaction
1127
2734
   (0.0ms) 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
   (0.0ms) rollback transaction
1129
- --------------------------------------------------------------------------------------------------------------------------
1130
- ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
1131
- --------------------------------------------------------------------------------------------------------------------------
2740
+ -----------------------------------------------------------------------------------------------------------------------
2741
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
2742
+ -----------------------------------------------------------------------------------------------------------------------
1132
2743
   (0.0ms) begin transaction
1133
2744
   (0.0ms) commit transaction
1134
2745
   (0.0ms) 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
   (0.0ms) rollback transaction
1136
- --------------------------------------------------------------------------------------------------------------------------
1137
- ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
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
   (0.0ms) begin transaction
1140
2755
   (0.0ms) commit transaction
1141
2756
   (0.0ms) begin transaction
1142
-  (0.0ms) rollback transaction
1143
- ---------------------------------------------------------------------------------------------
1144
- ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
1145
- ---------------------------------------------------------------------------------------------
2757
+ MnoCrew Load (0.1ms) 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", "usr-2"]]
2758
+  (0.0ms) SAVEPOINT active_record_1
2759
+ SQL (0.2ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2761
+  (0.1ms) rollback transaction
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
   (0.0ms) begin transaction
1147
2766
   (0.0ms) commit transaction
1148
2767
   (0.0ms) begin transaction
1149
-  (0.0ms) rollback transaction
2768
+  (0.0ms) SAVEPOINT active_record_1
2769
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2771
+ MnoCrew Load (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
2773
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2775
+  (0.1ms) rollback transaction
2776
+ ------------------------------------------------------------------------------------------------------------------------------
2777
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
2778
+ ------------------------------------------------------------------------------------------------------------------------------
2779
+  (0.1ms) begin transaction
2780
+  (0.0ms) commit transaction
2781
+  (0.0ms) begin transaction
2782
+  (0.0ms) SAVEPOINT active_record_1
2783
+ SQL (0.1ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2785
+ MnoCrew Load (0.0ms) 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"]]
2786
+  (0.1ms) rollback transaction
2787
+ ----------------------------------------------------------------------------------------------------
2788
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
2789
+ ----------------------------------------------------------------------------------------------------
2790
+  (0.0ms) begin transaction
2791
+  (0.0ms) commit transaction
2792
+  (0.0ms) begin transaction
2793
+  (0.0ms) rollback transaction
2794
+ -------------------------------------------------------------------------------------------------------------
2795
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
2796
+ -------------------------------------------------------------------------------------------------------------
2797
+  (0.0ms) begin transaction
2798
+  (0.0ms) commit transaction
2799
+  (0.0ms) begin transaction
2800
+  (0.0ms) rollback transaction
2801
+ -----------------------------------------------------------------------------------------------
2802
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
2803
+ -----------------------------------------------------------------------------------------------
2804
+  (0.0ms) begin transaction
2805
+  (0.0ms) commit transaction
2806
+  (0.0ms) begin transaction
2807
+  (0.0ms) rollback transaction
2808
+ ------------------------------------------------------------------------------------------------------------------------
2809
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
2810
+ ------------------------------------------------------------------------------------------------------------------------
2811
+  (0.1ms) begin transaction
2812
+  (0.0ms) commit transaction
2813
+  (0.0ms) begin transaction
2814
+  (0.0ms) rollback transaction