erp_tech_svcs 3.0.9 → 3.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,30 +1,32 @@
1
1
  class UpdateRoles < ActiveRecord::Migration
2
2
  def up
3
3
 
4
- roles_users = ActiveRecord::Base.connection.select_all("select * from roles_users")
5
- roles_users.each do |role_user|
6
- secured_model = SecuredModel.find_by_secured_record_id_and_secured_record_type(role_user['user_id'], 'User')
7
- if secured_model.nil?
8
- secured_model = SecuredModel.new
9
- secured_model.secured_record = User.find(role_user['user_id'])
10
- secured_model.save
4
+ if table_exists?(:roles_users)
5
+ roles_users = ActiveRecord::Base.connection.select_all("select * from roles_users")
6
+ roles_users.each do |role_user|
7
+ secured_model = SecuredModel.find_by_secured_record_id_and_secured_record_type(role_user['user_id'], 'User')
8
+ if secured_model.nil?
9
+ secured_model = SecuredModel.new
10
+ secured_model.secured_record = User.find(role_user['user_id'])
11
+ secured_model.save
12
+ end
13
+ secured_model.roles << Role.find(role_user['role_id'])
11
14
  end
12
- secured_model.roles << Role.find(role_user['role_id'])
13
- end
14
15
 
15
- roles_widgets = ActiveRecord::Base.connection.select_all("select * from roles_widgets")
16
- roles_widgets.each do |role_widget|
17
- secured_model = SecuredModel.find_by_secured_record_id_and_secured_record_type(role_widget['widget_id'], 'Widget')
18
- if secured_model.nil?
19
- secured_model = SecuredModel.new
20
- secured_model.secured_record = Widget.find(role_widget['widget_id'])
21
- secured_model.save
16
+ roles_widgets = ActiveRecord::Base.connection.select_all("select * from roles_widgets")
17
+ roles_widgets.each do |role_widget|
18
+ secured_model = SecuredModel.find_by_secured_record_id_and_secured_record_type(role_widget['widget_id'], 'Widget')
19
+ if secured_model.nil?
20
+ secured_model = SecuredModel.new
21
+ secured_model.secured_record = Widget.find(role_widget['widget_id'])
22
+ secured_model.save
23
+ end
24
+ secured_model.roles << Role.find(role_widget['role_id'])
22
25
  end
23
- secured_model.roles << Role.find(role_widget['role_id'])
24
- end
25
26
 
26
- drop_table :roles_users
27
- drop_table :roles_widgets
27
+ drop_table :roles_users
28
+ drop_table :roles_widgets
29
+ end
28
30
 
29
31
  end
30
32
 
@@ -1,9 +1,13 @@
1
1
  class AddQueueToDelayedJobs < ActiveRecord::Migration
2
2
  def self.up
3
- add_column :delayed_jobs, :queue, :string
3
+ unless column_exists?(:delayed_jobs, :queue)
4
+ add_column :delayed_jobs, :queue, :string
5
+ end
4
6
  end
5
7
 
6
8
  def self.down
7
- remove_column :delayed_jobs, :queue
9
+ if column_exists?(:delayed_jobs, :queue)
10
+ remove_column :delayed_jobs, :queue
11
+ end
8
12
  end
9
13
  end
@@ -2,7 +2,7 @@ module ErpTechSvcs
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 9
5
+ TINY = 10
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_tech_svcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-24 00:00:00.000000000 Z
12
+ date: 2012-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: erp_base_erp_svcs
16
- requirement: &70098070406840 !ruby/object:Gem::Requirement
16
+ requirement: &72970350 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70098070406840
24
+ version_requirements: *72970350
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: erp_dev_svcs
27
- requirement: &70098070406180 !ruby/object:Gem::Requirement
27
+ requirement: &72970100 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70098070406180
35
+ version_requirements: *72970100
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: aws-sdk
38
- requirement: &70098070398820 !ruby/object:Gem::Requirement
38
+ requirement: &72969870 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70098070398820
46
+ version_requirements: *72969870
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: delayed_job_active_record
49
- requirement: &70098070397900 !ruby/object:Gem::Requirement
49
+ requirement: &72969630 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.3.2
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70098070397900
57
+ version_requirements: *72969630
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: paperclip
60
- requirement: &70098070396920 !ruby/object:Gem::Requirement
60
+ requirement: &72969400 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - =
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 3.0.2
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70098070396920
68
+ version_requirements: *72969400
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pdfkit
71
- requirement: &70098070395480 !ruby/object:Gem::Requirement
71
+ requirement: &72969160 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - =
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.4.6
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70098070395480
79
+ version_requirements: *72969160
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: sorcery
82
- requirement: &70098070394520 !ruby/object:Gem::Requirement
82
+ requirement: &72968920 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - =
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: 0.7.12
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70098070394520
90
+ version_requirements: *72968920
91
91
  description: This engine is implemented with the premise that services like logging,
92
92
  tracing and encryption would likely already exist in many organizations, so they
93
93
  are factored here so they can easily be re-implemented. There are default implementations
@@ -99,129 +99,129 @@ executables: []
99
99
  extensions: []
100
100
  extra_rdoc_files: []
101
101
  files:
102
- - app/assets/javascripts/erp_tech_svcs/application.js
103
102
  - app/assets/stylesheets/erp_tech_svcs/application.css
104
- - app/controllers/erp_tech_svcs/session_controller.rb
105
- - app/controllers/erp_tech_svcs/user_controller.rb
106
- - app/helpers/erp_tech_svcs/application_helper.rb
107
- - app/mailers/user_mailer.rb
108
- - app/models/attribute_type.rb
103
+ - app/assets/javascripts/erp_tech_svcs/application.js
104
+ - app/views/user_mailer/activation_needed_email.html.erb
105
+ - app/views/user_mailer/reset_password_email.html.erb
106
+ - app/views/layouts/erp_tech_svcs/application.html.erb
107
+ - app/views/layouts/application.html.erb
108
+ - app/validators/password_strength_validator.rb
109
+ - app/models/capability.rb
109
110
  - app/models/attribute_value.rb
111
+ - app/models/file_asset.rb
112
+ - app/models/role.rb
113
+ - app/models/audit_log_item_type.rb
110
114
  - app/models/audit_log.rb
115
+ - app/models/secured_model.rb
111
116
  - app/models/audit_log_item.rb
112
- - app/models/audit_log_item_type.rb
113
117
  - app/models/audit_log_type.rb
114
- - app/models/capability.rb
115
- - app/models/capability_type.rb
118
+ - app/models/user.rb
119
+ - app/models/attribute_type.rb
116
120
  - app/models/capable_model.rb
121
+ - app/models/capability_type.rb
117
122
  - app/models/encryption_key.rb
123
+ - app/models/extensions/role_type.rb
124
+ - app/models/extensions/party.rb
125
+ - app/models/extensions/note_type.rb
118
126
  - app/models/extensions/contact_purpose.rb
119
127
  - app/models/extensions/contact_type.rb
120
- - app/models/extensions/note.rb
121
- - app/models/extensions/note_type.rb
122
- - app/models/extensions/party.rb
123
128
  - app/models/extensions/relationship_type.rb
124
- - app/models/extensions/role_type.rb
125
- - app/models/file_asset.rb
126
- - app/models/role.rb
127
- - app/models/secured_model.rb
128
- - app/models/user.rb
129
- - app/validators/password_strength_validator.rb
130
- - app/views/layouts/application.html.erb
131
- - app/views/layouts/erp_tech_svcs/application.html.erb
132
- - app/views/user_mailer/activation_needed_email.html.erb
133
- - app/views/user_mailer/reset_password_email.html.erb
129
+ - app/models/extensions/note.rb
130
+ - app/mailers/user_mailer.rb
131
+ - app/helpers/erp_tech_svcs/application_helper.rb
132
+ - app/controllers/erp_tech_svcs/session_controller.rb
133
+ - app/controllers/erp_tech_svcs/user_controller.rb
134
+ - config/routes.rb
135
+ - config/initializers/pdfkit.rb
134
136
  - config/initializers/erp_tech_svcs.rb
135
137
  - config/initializers/file_support.rb
136
- - config/initializers/pdfkit.rb
137
138
  - config/initializers/sorcery.rb
138
- - config/routes.rb
139
- - db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.rb
140
- - db/data_migrations/20111111144706_setup_audit_log_types.rb
141
- - db/data_migrations/20120109173616_create_download_capability_type.rb
142
- - db/data_migrations/upgrade/20120727152144_set_image_dimensions_on_file_assets.rb
143
139
  - db/migrate/20080805000010_base_tech_services.rb
144
140
  - db/migrate/20111117183144_create_has_attribute_tables.rb
145
- - db/migrate/upgrade/20111109161549_add_capabilites.rb
146
- - db/migrate/upgrade/20111109161550_update_roles.rb
147
141
  - db/migrate/upgrade/20111109161551_update_user.rb
148
- - db/migrate/upgrade/20120329161641_add_file_asset_indexes.rb
149
- - db/migrate/upgrade/20120517203052_add_queue_to_delayed_jobs.rb
150
142
  - db/migrate/upgrade/20120725205131_add_image_dimension_columns_to_file_asset.rb
151
- - lib/erp_tech_svcs/application_installer.rb
152
- - lib/erp_tech_svcs/config.rb
153
- - lib/erp_tech_svcs/engine.rb
143
+ - db/migrate/upgrade/20111109161550_update_roles.rb
144
+ - db/migrate/upgrade/20120517203052_add_queue_to_delayed_jobs.rb
145
+ - db/migrate/upgrade/20120329161641_add_file_asset_indexes.rb
146
+ - db/migrate/upgrade/20111109161549_add_capabilites.rb
147
+ - db/data_migrations/20120109173616_create_download_capability_type.rb
148
+ - db/data_migrations/upgrade/20120727152144_set_image_dimensions_on_file_assets.rb
149
+ - db/data_migrations/20111111144706_setup_audit_log_types.rb
150
+ - db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.rb
154
151
  - lib/erp_tech_svcs/erp_tech_svcs_audit_log.rb
155
- - lib/erp_tech_svcs/extensions/active_record/acts_as_versioned.rb
156
- - lib/erp_tech_svcs/extensions/active_record/has_capabilities.rb
157
- - lib/erp_tech_svcs/extensions/active_record/has_file_assets.rb
158
- - lib/erp_tech_svcs/extensions/active_record/has_relational_dynamic_attributes.rb
159
- - lib/erp_tech_svcs/extensions/active_record/has_roles.rb
160
- - lib/erp_tech_svcs/extensions/sorcery/user_activation.rb
161
- - lib/erp_tech_svcs/extensions.rb
162
- - lib/erp_tech_svcs/file_support/base.rb
163
- - lib/erp_tech_svcs/file_support/file_manipulator.rb
164
- - lib/erp_tech_svcs/file_support/file_system_manager.rb
165
- - lib/erp_tech_svcs/file_support/manager.rb
152
+ - lib/erp_tech_svcs/engine.rb
153
+ - lib/erp_tech_svcs/config.rb
166
154
  - lib/erp_tech_svcs/file_support/paperclip_patch.rb
167
155
  - lib/erp_tech_svcs/file_support/railties/s3_resolver.rb
156
+ - lib/erp_tech_svcs/file_support/file_system_manager.rb
157
+ - lib/erp_tech_svcs/file_support/base.rb
158
+ - lib/erp_tech_svcs/file_support/file_manipulator.rb
168
159
  - lib/erp_tech_svcs/file_support/s3_manager.rb
169
- - lib/erp_tech_svcs/file_support.rb
170
- - lib/erp_tech_svcs/sessions/delete_expired_sessions_job.rb
171
- - lib/erp_tech_svcs/sessions/delete_expired_sessions_service.rb
160
+ - lib/erp_tech_svcs/file_support/manager.rb
172
161
  - lib/erp_tech_svcs/sms_wrapper/clickatell.rb
173
162
  - lib/erp_tech_svcs/sms_wrapper.rb
174
- - lib/erp_tech_svcs/utils/attachment_fu_patch.rb
175
- - lib/erp_tech_svcs/utils/compass_access_negotiator.rb
176
- - lib/erp_tech_svcs/utils/compass_logger.rb
163
+ - lib/erp_tech_svcs/file_support.rb
164
+ - lib/erp_tech_svcs/application_installer.rb
165
+ - lib/erp_tech_svcs/sessions/delete_expired_sessions_service.rb
166
+ - lib/erp_tech_svcs/sessions/delete_expired_sessions_job.rb
177
167
  - lib/erp_tech_svcs/utils/compass_pdf.rb
168
+ - lib/erp_tech_svcs/utils/compass_access_negotiator.rb
178
169
  - lib/erp_tech_svcs/utils/default_nested_set_methods.rb
170
+ - lib/erp_tech_svcs/utils/attachment_fu_patch.rb
179
171
  - lib/erp_tech_svcs/utils/pdf_processor.rb
172
+ - lib/erp_tech_svcs/utils/compass_logger.rb
173
+ - lib/erp_tech_svcs/extensions.rb
174
+ - lib/erp_tech_svcs/extensions/sorcery/user_activation.rb
175
+ - lib/erp_tech_svcs/extensions/active_record/has_capabilities.rb
176
+ - lib/erp_tech_svcs/extensions/active_record/acts_as_versioned.rb
177
+ - lib/erp_tech_svcs/extensions/active_record/has_relational_dynamic_attributes.rb
178
+ - lib/erp_tech_svcs/extensions/active_record/has_roles.rb
179
+ - lib/erp_tech_svcs/extensions/active_record/has_file_assets.rb
180
180
  - lib/erp_tech_svcs/version.rb
181
181
  - lib/erp_tech_svcs.rb
182
182
  - lib/tasks/erp_tech_svcs_tasks.rake
183
183
  - GPL-3-LICENSE
184
184
  - Rakefile
185
185
  - README.md
186
- - spec/controllers/erp_tech_svcs/user_controller_spec.rb
187
- - spec/dummy/app/assets/javascripts/application.js
186
+ - spec/factories/role.rb
187
+ - spec/factories/users.rb
188
+ - spec/factories/capability_type.rb
189
+ - spec/spec_helper.rb
190
+ - spec/lib/erp_tech_svcs/extensions/active_record/has_roles_spec.rb
191
+ - spec/lib/file_support/s3_manager_spec.rb
192
+ - spec/lib/file_support/file_system_manager_spec.rb
193
+ - spec/models/user_spec.rb
194
+ - spec/models/audit_log_type_spec.rb
195
+ - spec/models/secured_model_spec.rb
196
+ - spec/models/file_asset_spec.rb
197
+ - spec/models/audit_log_spec.rb
198
+ - spec/models/role_spec.rb
199
+ - spec/dummy/public/422.html
200
+ - spec/dummy/public/404.html
201
+ - spec/dummy/public/500.html
202
+ - spec/dummy/public/favicon.ico
203
+ - spec/dummy/config.ru
188
204
  - spec/dummy/app/assets/stylesheets/application.css
189
- - spec/dummy/app/controllers/application_controller.rb
190
- - spec/dummy/app/helpers/application_helper.rb
205
+ - spec/dummy/app/assets/javascripts/application.js
191
206
  - spec/dummy/app/views/layouts/application.html.erb
192
- - spec/dummy/config/application.rb
207
+ - spec/dummy/app/helpers/application_helper.rb
208
+ - spec/dummy/app/controllers/application_controller.rb
209
+ - spec/dummy/config/routes.rb
210
+ - spec/dummy/config/locales/en.yml
193
211
  - spec/dummy/config/boot.rb
194
- - spec/dummy/config/database.yml
195
- - spec/dummy/config/environment.rb
212
+ - spec/dummy/config/application.rb
196
213
  - spec/dummy/config/environments/spec.rb
197
- - spec/dummy/config/initializers/backtrace_silencers.rb
198
- - spec/dummy/config/initializers/inflections.rb
199
214
  - spec/dummy/config/initializers/mime_types.rb
200
- - spec/dummy/config/initializers/secret_token.rb
201
215
  - spec/dummy/config/initializers/session_store.rb
216
+ - spec/dummy/config/initializers/backtrace_silencers.rb
202
217
  - spec/dummy/config/initializers/wrap_parameters.rb
203
- - spec/dummy/config/locales/en.yml
204
- - spec/dummy/config/routes.rb
205
- - spec/dummy/config.ru
206
- - spec/dummy/public/404.html
207
- - spec/dummy/public/422.html
208
- - spec/dummy/public/500.html
209
- - spec/dummy/public/favicon.ico
218
+ - spec/dummy/config/initializers/inflections.rb
219
+ - spec/dummy/config/initializers/secret_token.rb
220
+ - spec/dummy/config/environment.rb
221
+ - spec/dummy/config/database.yml
210
222
  - spec/dummy/Rakefile
211
223
  - spec/dummy/script/rails
212
- - spec/factories/capability_type.rb
213
- - spec/factories/role.rb
214
- - spec/factories/users.rb
215
- - spec/lib/erp_tech_svcs/extensions/active_record/has_roles_spec.rb
216
- - spec/lib/file_support/file_system_manager_spec.rb
217
- - spec/lib/file_support/s3_manager_spec.rb
218
- - spec/models/audit_log_spec.rb
219
- - spec/models/audit_log_type_spec.rb
220
- - spec/models/file_asset_spec.rb
221
- - spec/models/role_spec.rb
222
- - spec/models/secured_model_spec.rb
223
- - spec/models/user_spec.rb
224
- - spec/spec_helper.rb
224
+ - spec/controllers/erp_tech_svcs/user_controller_spec.rb
225
225
  homepage: http://development.compassagile.com
226
226
  licenses: []
227
227
  post_install_message:
@@ -242,49 +242,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 1.8.11
245
+ rubygems_version: 1.8.10
246
246
  signing_key:
247
247
  specification_version: 3
248
248
  summary: This engine is implemented with the premise that services like logging, tracing
249
249
  and encryption would likely already exist in many organizations, so they are factored
250
250
  here so they can easily be re-implemented.
251
251
  test_files:
252
- - spec/controllers/erp_tech_svcs/user_controller_spec.rb
253
- - spec/dummy/app/assets/javascripts/application.js
252
+ - spec/factories/role.rb
253
+ - spec/factories/users.rb
254
+ - spec/factories/capability_type.rb
255
+ - spec/spec_helper.rb
256
+ - spec/lib/erp_tech_svcs/extensions/active_record/has_roles_spec.rb
257
+ - spec/lib/file_support/s3_manager_spec.rb
258
+ - spec/lib/file_support/file_system_manager_spec.rb
259
+ - spec/models/user_spec.rb
260
+ - spec/models/audit_log_type_spec.rb
261
+ - spec/models/secured_model_spec.rb
262
+ - spec/models/file_asset_spec.rb
263
+ - spec/models/audit_log_spec.rb
264
+ - spec/models/role_spec.rb
265
+ - spec/dummy/public/422.html
266
+ - spec/dummy/public/404.html
267
+ - spec/dummy/public/500.html
268
+ - spec/dummy/public/favicon.ico
269
+ - spec/dummy/config.ru
254
270
  - spec/dummy/app/assets/stylesheets/application.css
255
- - spec/dummy/app/controllers/application_controller.rb
256
- - spec/dummy/app/helpers/application_helper.rb
271
+ - spec/dummy/app/assets/javascripts/application.js
257
272
  - spec/dummy/app/views/layouts/application.html.erb
258
- - spec/dummy/config/application.rb
273
+ - spec/dummy/app/helpers/application_helper.rb
274
+ - spec/dummy/app/controllers/application_controller.rb
275
+ - spec/dummy/config/routes.rb
276
+ - spec/dummy/config/locales/en.yml
259
277
  - spec/dummy/config/boot.rb
260
- - spec/dummy/config/database.yml
261
- - spec/dummy/config/environment.rb
278
+ - spec/dummy/config/application.rb
262
279
  - spec/dummy/config/environments/spec.rb
263
- - spec/dummy/config/initializers/backtrace_silencers.rb
264
- - spec/dummy/config/initializers/inflections.rb
265
280
  - spec/dummy/config/initializers/mime_types.rb
266
- - spec/dummy/config/initializers/secret_token.rb
267
281
  - spec/dummy/config/initializers/session_store.rb
282
+ - spec/dummy/config/initializers/backtrace_silencers.rb
268
283
  - spec/dummy/config/initializers/wrap_parameters.rb
269
- - spec/dummy/config/locales/en.yml
270
- - spec/dummy/config/routes.rb
271
- - spec/dummy/config.ru
272
- - spec/dummy/public/404.html
273
- - spec/dummy/public/422.html
274
- - spec/dummy/public/500.html
275
- - spec/dummy/public/favicon.ico
284
+ - spec/dummy/config/initializers/inflections.rb
285
+ - spec/dummy/config/initializers/secret_token.rb
286
+ - spec/dummy/config/environment.rb
287
+ - spec/dummy/config/database.yml
276
288
  - spec/dummy/Rakefile
277
289
  - spec/dummy/script/rails
278
- - spec/factories/capability_type.rb
279
- - spec/factories/role.rb
280
- - spec/factories/users.rb
281
- - spec/lib/erp_tech_svcs/extensions/active_record/has_roles_spec.rb
282
- - spec/lib/file_support/file_system_manager_spec.rb
283
- - spec/lib/file_support/s3_manager_spec.rb
284
- - spec/models/audit_log_spec.rb
285
- - spec/models/audit_log_type_spec.rb
286
- - spec/models/file_asset_spec.rb
287
- - spec/models/role_spec.rb
288
- - spec/models/secured_model_spec.rb
289
- - spec/models/user_spec.rb
290
- - spec/spec_helper.rb
290
+ - spec/controllers/erp_tech_svcs/user_controller_spec.rb