rails_admin 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails_admin might be problematic. Click here for more details.

Files changed (95) hide show
  1. data/Gemfile +18 -20
  2. data/README.md +8 -1
  3. data/app/assets/javascripts/rails_admin/ra.widgets.coffee +5 -4
  4. data/app/assets/stylesheets/rails_admin/base/theming.css.scss +4 -4
  5. data/app/controllers/rails_admin/main_controller.rb +11 -2
  6. data/app/helpers/rails_admin/application_helper.rb +1 -1
  7. data/app/helpers/rails_admin/form_builder.rb +3 -3
  8. data/app/views/rails_admin/main/_form_filtering_multiselect.html.haml +4 -4
  9. data/app/views/rails_admin/main/_form_filtering_select.html.haml +2 -2
  10. data/app/views/rails_admin/main/_form_nested_one.html.haml +1 -1
  11. data/app/views/rails_admin/main/_form_text.html.haml +2 -1
  12. data/app/views/rails_admin/main/export.html.haml +2 -2
  13. data/app/views/rails_admin/main/index.html.haml +5 -5
  14. data/app/views/rails_admin/main/show.html.haml +1 -1
  15. data/lib/generators/rails_admin/templates/initializer.erb +5 -5
  16. data/lib/rails_admin/abstract_model.rb +1 -0
  17. data/lib/rails_admin/config.rb +1 -1
  18. data/lib/rails_admin/config/actions/base.rb +1 -1
  19. data/lib/rails_admin/config/actions/edit.rb +5 -4
  20. data/lib/rails_admin/config/actions/new.rb +5 -4
  21. data/lib/rails_admin/config/fields/association.rb +10 -10
  22. data/lib/rails_admin/config/fields/base.rb +10 -4
  23. data/lib/rails_admin/config/fields/types/belongs_to_association.rb +2 -2
  24. data/lib/rails_admin/config/fields/types/boolean.rb +4 -4
  25. data/lib/rails_admin/config/fields/types/bson_object_id.rb +4 -4
  26. data/lib/rails_admin/config/fields/types/carrierwave.rb +3 -3
  27. data/lib/rails_admin/config/fields/types/datetime.rb +5 -5
  28. data/lib/rails_admin/config/fields/types/enum.rb +5 -5
  29. data/lib/rails_admin/config/fields/types/file_upload.rb +10 -6
  30. data/lib/rails_admin/config/fields/types/has_many_association.rb +1 -1
  31. data/lib/rails_admin/config/fields/types/has_one_association.rb +3 -3
  32. data/lib/rails_admin/config/fields/types/integer.rb +1 -1
  33. data/lib/rails_admin/config/fields/types/paperclip.rb +2 -2
  34. data/lib/rails_admin/config/fields/types/polymorphic_association.rb +8 -4
  35. data/lib/rails_admin/config/fields/types/serialized.rb +2 -2
  36. data/lib/rails_admin/config/fields/types/string.rb +3 -3
  37. data/lib/rails_admin/config/fields/types/text.rb +22 -15
  38. data/lib/rails_admin/config/fields/types/time.rb +1 -1
  39. data/lib/rails_admin/config/hideable.rb +1 -1
  40. data/lib/rails_admin/config/model.rb +4 -0
  41. data/lib/rails_admin/config/sections/modal.rb +1 -1
  42. data/lib/rails_admin/engine.rb +1 -1
  43. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +2 -1
  44. data/lib/rails_admin/support/csv_converter.rb +1 -1
  45. data/lib/rails_admin/version.rb +2 -2
  46. data/lib/rails_admin/version.rbc +582 -0
  47. data/lib/tasks/rails_admin.rake +2 -2
  48. data/spec/controllers/main_controller_spec.rb +113 -45
  49. data/spec/dummy_app/Gemfile +11 -25
  50. data/spec/dummy_app/Gemfile.lock +214 -0
  51. data/spec/dummy_app/app/active_record/comment.rb +1 -1
  52. data/spec/dummy_app/app/active_record/field_test.rb +0 -1
  53. data/spec/dummy_app/config/initializers/strong_parameters.rb +2 -0
  54. data/spec/dummy_app/db/test.sqlite3 +0 -0
  55. data/spec/dummy_app/log/test.log +97612 -0
  56. data/spec/helpers/application_helper_spec.rb +24 -24
  57. data/spec/helpers/form_builder_spec.rb +4 -4
  58. data/spec/integration/authorization/cancan_spec.rb +3 -3
  59. data/spec/integration/basic/bulk_action/rails_admin_basic_bulk_action_spec.rb +2 -2
  60. data/spec/integration/basic/bulk_destroy/rails_admin_basic_bulk_destroy_spec.rb +2 -2
  61. data/spec/integration/basic/create/rails_admin_basic_create_spec.rb +9 -9
  62. data/spec/integration/basic/create/rails_admin_namespaced_model_create_spec.rb +1 -1
  63. data/spec/integration/basic/delete/rails_admin_basic_delete_spec.rb +4 -4
  64. data/spec/integration/basic/destroy/rails_admin_basic_destroy_spec.rb +9 -9
  65. data/spec/integration/basic/edit/rails_admin_basic_edit_spec.rb +10 -10
  66. data/spec/integration/basic/export/rails_admin_basic_export_spec.rb +5 -5
  67. data/spec/integration/basic/list/rails_admin_basic_list_spec.rb +32 -25
  68. data/spec/integration/basic/new/rails_admin_basic_new_spec.rb +8 -8
  69. data/spec/integration/basic/new/rails_admin_namespaced_model_new_spec.rb +3 -3
  70. data/spec/integration/basic/show/rails_admin_basic_show_spec.rb +6 -6
  71. data/spec/integration/basic/update/rails_admin_basic_update_spec.rb +13 -13
  72. data/spec/integration/config/edit/rails_admin_config_edit_spec.rb +97 -76
  73. data/spec/integration/config/list/rails_admin_config_list_spec.rb +32 -32
  74. data/spec/integration/config/show/rails_admin_config_show_spec.rb +23 -23
  75. data/spec/integration/history/rails_admin_history_spec.rb +6 -6
  76. data/spec/integration/rails_admin_spec.rb +17 -17
  77. data/spec/integration/relation_spec.rb +7 -7
  78. data/spec/unit/abstract_model_spec.rb +11 -5
  79. data/spec/unit/active_record_extension_spec.rb +2 -2
  80. data/spec/unit/adapters/active_record/abstract_object_spec.rb +8 -8
  81. data/spec/unit/adapters/active_record_spec.rb +6 -6
  82. data/spec/unit/adapters/mongoid/abstract_object_spec.rb +1 -1
  83. data/spec/unit/adapters/mongoid_spec.rb +12 -12
  84. data/spec/unit/config/actions/base_spec.rb +2 -2
  85. data/spec/unit/config/actions_spec.rb +16 -16
  86. data/spec/unit/config/fields/base_spec.rb +61 -49
  87. data/spec/unit/config/fields/date_spec.rb +4 -4
  88. data/spec/unit/config/fields/datetime_spec.rb +4 -4
  89. data/spec/unit/config/fields/file_upload_spec.rb +21 -0
  90. data/spec/unit/config/fields/time_spec.rb +3 -3
  91. data/spec/unit/config/fields/timestamp_spec.rb +1 -1
  92. data/spec/unit/config/model_spec.rb +10 -10
  93. data/spec/unit/config/sections_spec.rb +4 -4
  94. data/spec/unit/config_spec.rb +9 -9
  95. metadata +17 -218
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe RailsAdmin::Config::Sections do
4
4
 
5
5
  describe "configure" do
6
- it "should configure without changing the section default list" do
6
+ it "configures without changing the section default list" do
7
7
  RailsAdmin.config Team do
8
8
  edit do
9
9
  configure :name do
@@ -16,7 +16,7 @@ describe RailsAdmin::Config::Sections do
16
16
  expect(fields.count).to be >= 19 # not 1
17
17
  end
18
18
 
19
- it "should not change the section list if set" do
19
+ it "does not change the section list if set" do
20
20
  RailsAdmin.config Team do
21
21
  edit do
22
22
  field :manager
@@ -32,7 +32,7 @@ describe RailsAdmin::Config::Sections do
32
32
  end
33
33
 
34
34
  describe "DSL field inheritance" do
35
- it 'should be tested' do
35
+ it "is tested" do
36
36
  RailsAdmin.config do |config|
37
37
  config.model Fan do
38
38
  field :name do
@@ -75,7 +75,7 @@ describe RailsAdmin::Config::Sections do
75
75
  end
76
76
 
77
77
  describe "DSL group inheritance" do
78
- it 'should be tested' do
78
+ it "is tested" do
79
79
  RailsAdmin.config do |config|
80
80
  config.model Team do
81
81
  list do
@@ -4,27 +4,27 @@ describe RailsAdmin::Config do
4
4
 
5
5
  describe ".included_models" do
6
6
 
7
- it 'should only use included models' do
7
+ it "only uses included models" do
8
8
  RailsAdmin.config.included_models = [Team, League]
9
9
  expect(RailsAdmin::AbstractModel.all.map(&:model)).to eq([League, Team]) # it gets sorted
10
10
  end
11
11
 
12
- it 'should not restrict models if included_models is left empty' do
12
+ it "does not restrict models if included_models is left empty" do
13
13
  RailsAdmin.config.included_models = []
14
14
  expect(RailsAdmin::AbstractModel.all.map(&:model)).to include(Team, League)
15
15
  end
16
16
 
17
- it 'should further remove excluded models (whitelist - blacklist)' do
17
+ it "removes excluded models (whitelist - blacklist)" do
18
18
  RailsAdmin.config.excluded_models = [Team]
19
19
  RailsAdmin.config.included_models = [Team, League]
20
20
  expect(RailsAdmin::AbstractModel.all.map(&:model)).to eq([League])
21
21
  end
22
22
 
23
- it 'should always exclude history', :active_record => true do
23
+ it "always excludes history", :active_record => true do
24
24
  expect(RailsAdmin::AbstractModel.all.map(&:model)).not_to include(RailsAdmin::History)
25
25
  end
26
26
 
27
- it 'excluded? returns true for any model not on the list' do
27
+ it "excluded? returns true for any model not on the list" do
28
28
  RailsAdmin.config.included_models = [Team, League]
29
29
 
30
30
  team_config = RailsAdmin::AbstractModel.new('Team').config
@@ -225,8 +225,8 @@ describe RailsAdmin::Config do
225
225
  end
226
226
  end
227
227
 
228
- describe '.visible_models' do
229
- it 'passes controller bindings, find visible models, order them' do
228
+ describe ".visible_models" do
229
+ it "passes controller bindings, find visible models, order them" do
230
230
  RailsAdmin.config do |config|
231
231
  config.included_models = [Player, Fan, Comment, Team]
232
232
 
@@ -252,7 +252,7 @@ describe RailsAdmin::Config do
252
252
  expect(RailsAdmin.config.visible_models(:controller => double(:_current_user => double(:role => :admin), :authorized? => true)).map(&:abstract_model).map(&:model)).to match_array [Fan, Comment]
253
253
  end
254
254
 
255
- it 'hides unallowed models' do
255
+ it "hides unallowed models" do
256
256
  RailsAdmin.config do |config|
257
257
  config.included_models = [Comment]
258
258
  end
@@ -260,7 +260,7 @@ describe RailsAdmin::Config do
260
260
  expect(RailsAdmin.config.visible_models(:controller => double(:authorized? => false)).map(&:abstract_model).map(&:model)).to eq([])
261
261
  end
262
262
 
263
- it "should not contain embedded model", :mongoid => true do
263
+ it "does not contain embedded model", :mongoid => true do
264
264
  RailsAdmin.config do |config|
265
265
  config.included_models = [FieldTest, Comment, Embed]
266
266
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-10-10 00:00:00.000000000 Z
15
+ date: 2012-11-06 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: nested_form
@@ -53,7 +53,7 @@ dependencies:
53
53
  requirements:
54
54
  - - ~>
55
55
  - !ruby/object:Gem::Version
56
- version: '2.0'
56
+ version: '2.1'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -61,7 +61,7 @@ dependencies:
61
61
  requirements:
62
62
  - - ~>
63
63
  - !ruby/object:Gem::Version
64
- version: '2.0'
64
+ version: '2.1'
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: font-awesome-sass-rails
67
67
  requirement: !ruby/object:Gem::Requirement
@@ -149,7 +149,7 @@ dependencies:
149
149
  requirements:
150
150
  - - ~>
151
151
  - !ruby/object:Gem::Version
152
- version: '2.0'
152
+ version: '2.1'
153
153
  type: :runtime
154
154
  prerelease: false
155
155
  version_requirements: !ruby/object:Gem::Requirement
@@ -157,7 +157,7 @@ dependencies:
157
157
  requirements:
158
158
  - - ~>
159
159
  - !ruby/object:Gem::Version
160
- version: '2.0'
160
+ version: '2.1'
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: kaminari
163
163
  requirement: !ruby/object:Gem::Requirement
@@ -165,7 +165,7 @@ dependencies:
165
165
  requirements:
166
166
  - - ~>
167
167
  - !ruby/object:Gem::Version
168
- version: '0.12'
168
+ version: '0.14'
169
169
  type: :runtime
170
170
  prerelease: false
171
171
  version_requirements: !ruby/object:Gem::Requirement
@@ -173,7 +173,7 @@ dependencies:
173
173
  requirements:
174
174
  - - ~>
175
175
  - !ruby/object:Gem::Version
176
- version: '0.12'
176
+ version: '0.14'
177
177
  - !ruby/object:Gem::Dependency
178
178
  name: rack-pjax
179
179
  requirement: !ruby/object:Gem::Requirement
@@ -181,7 +181,7 @@ dependencies:
181
181
  requirements:
182
182
  - - ~>
183
183
  - !ruby/object:Gem::Version
184
- version: '0.5'
184
+ version: '0.6'
185
185
  type: :runtime
186
186
  prerelease: false
187
187
  version_requirements: !ruby/object:Gem::Requirement
@@ -189,7 +189,7 @@ dependencies:
189
189
  requirements:
190
190
  - - ~>
191
191
  - !ruby/object:Gem::Version
192
- version: '0.5'
192
+ version: '0.6'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: rails
195
195
  requirement: !ruby/object:Gem::Requirement
@@ -222,214 +222,6 @@ dependencies:
222
222
  - - ~>
223
223
  - !ruby/object:Gem::Version
224
224
  version: '1.0'
225
- - !ruby/object:Gem::Dependency
226
- name: cancan
227
- requirement: !ruby/object:Gem::Requirement
228
- none: false
229
- requirements:
230
- - - ! '>='
231
- - !ruby/object:Gem::Version
232
- version: '0'
233
- type: :development
234
- prerelease: false
235
- version_requirements: !ruby/object:Gem::Requirement
236
- none: false
237
- requirements:
238
- - - ! '>='
239
- - !ruby/object:Gem::Version
240
- version: '0'
241
- - !ruby/object:Gem::Dependency
242
- name: capybara
243
- requirement: !ruby/object:Gem::Requirement
244
- none: false
245
- requirements:
246
- - - ! '>='
247
- - !ruby/object:Gem::Version
248
- version: '0'
249
- type: :development
250
- prerelease: false
251
- version_requirements: !ruby/object:Gem::Requirement
252
- none: false
253
- requirements:
254
- - - ! '>='
255
- - !ruby/object:Gem::Version
256
- version: '0'
257
- - !ruby/object:Gem::Dependency
258
- name: carrierwave
259
- requirement: !ruby/object:Gem::Requirement
260
- none: false
261
- requirements:
262
- - - ! '>='
263
- - !ruby/object:Gem::Version
264
- version: '0'
265
- type: :development
266
- prerelease: false
267
- version_requirements: !ruby/object:Gem::Requirement
268
- none: false
269
- requirements:
270
- - - ! '>='
271
- - !ruby/object:Gem::Version
272
- version: '0'
273
- - !ruby/object:Gem::Dependency
274
- name: database_cleaner
275
- requirement: !ruby/object:Gem::Requirement
276
- none: false
277
- requirements:
278
- - - ~>
279
- - !ruby/object:Gem::Version
280
- version: '0.8'
281
- type: :development
282
- prerelease: false
283
- version_requirements: !ruby/object:Gem::Requirement
284
- none: false
285
- requirements:
286
- - - ~>
287
- - !ruby/object:Gem::Version
288
- version: '0.8'
289
- - !ruby/object:Gem::Dependency
290
- name: devise
291
- requirement: !ruby/object:Gem::Requirement
292
- none: false
293
- requirements:
294
- - - ! '>='
295
- - !ruby/object:Gem::Version
296
- version: '0'
297
- type: :development
298
- prerelease: false
299
- version_requirements: !ruby/object:Gem::Requirement
300
- none: false
301
- requirements:
302
- - - ! '>='
303
- - !ruby/object:Gem::Version
304
- version: '0'
305
- - !ruby/object:Gem::Dependency
306
- name: dragonfly
307
- requirement: !ruby/object:Gem::Requirement
308
- none: false
309
- requirements:
310
- - - ! '>='
311
- - !ruby/object:Gem::Version
312
- version: '0'
313
- type: :development
314
- prerelease: false
315
- version_requirements: !ruby/object:Gem::Requirement
316
- none: false
317
- requirements:
318
- - - ! '>='
319
- - !ruby/object:Gem::Version
320
- version: '0'
321
- - !ruby/object:Gem::Dependency
322
- name: factory_girl
323
- requirement: !ruby/object:Gem::Requirement
324
- none: false
325
- requirements:
326
- - - ! '>='
327
- - !ruby/object:Gem::Version
328
- version: '0'
329
- type: :development
330
- prerelease: false
331
- version_requirements: !ruby/object:Gem::Requirement
332
- none: false
333
- requirements:
334
- - - ! '>='
335
- - !ruby/object:Gem::Version
336
- version: '0'
337
- - !ruby/object:Gem::Dependency
338
- name: generator_spec
339
- requirement: !ruby/object:Gem::Requirement
340
- none: false
341
- requirements:
342
- - - ! '>='
343
- - !ruby/object:Gem::Version
344
- version: '0'
345
- type: :development
346
- prerelease: false
347
- version_requirements: !ruby/object:Gem::Requirement
348
- none: false
349
- requirements:
350
- - - ! '>='
351
- - !ruby/object:Gem::Version
352
- version: '0'
353
- - !ruby/object:Gem::Dependency
354
- name: launchy
355
- requirement: !ruby/object:Gem::Requirement
356
- none: false
357
- requirements:
358
- - - ! '>='
359
- - !ruby/object:Gem::Version
360
- version: '0'
361
- type: :development
362
- prerelease: false
363
- version_requirements: !ruby/object:Gem::Requirement
364
- none: false
365
- requirements:
366
- - - ! '>='
367
- - !ruby/object:Gem::Version
368
- version: '0'
369
- - !ruby/object:Gem::Dependency
370
- name: mini_magick
371
- requirement: !ruby/object:Gem::Requirement
372
- none: false
373
- requirements:
374
- - - ! '>='
375
- - !ruby/object:Gem::Version
376
- version: '0'
377
- type: :development
378
- prerelease: false
379
- version_requirements: !ruby/object:Gem::Requirement
380
- none: false
381
- requirements:
382
- - - ! '>='
383
- - !ruby/object:Gem::Version
384
- version: '0'
385
- - !ruby/object:Gem::Dependency
386
- name: paperclip
387
- requirement: !ruby/object:Gem::Requirement
388
- none: false
389
- requirements:
390
- - - ! '>='
391
- - !ruby/object:Gem::Version
392
- version: '0'
393
- type: :development
394
- prerelease: false
395
- version_requirements: !ruby/object:Gem::Requirement
396
- none: false
397
- requirements:
398
- - - ! '>='
399
- - !ruby/object:Gem::Version
400
- version: '0'
401
- - !ruby/object:Gem::Dependency
402
- name: rspec-rails
403
- requirement: !ruby/object:Gem::Requirement
404
- none: false
405
- requirements:
406
- - - ! '>='
407
- - !ruby/object:Gem::Version
408
- version: '0'
409
- type: :development
410
- prerelease: false
411
- version_requirements: !ruby/object:Gem::Requirement
412
- none: false
413
- requirements:
414
- - - ! '>='
415
- - !ruby/object:Gem::Version
416
- version: '0'
417
- - !ruby/object:Gem::Dependency
418
- name: timecop
419
- requirement: !ruby/object:Gem::Requirement
420
- none: false
421
- requirements:
422
- - - ! '>='
423
- - !ruby/object:Gem::Version
424
- version: '0'
425
- type: :development
426
- prerelease: false
427
- version_requirements: !ruby/object:Gem::Requirement
428
- none: false
429
- requirements:
430
- - - ! '>='
431
- - !ruby/object:Gem::Version
432
- version: '0'
433
225
  description: RailsAdmin is a Rails engine that provides an easy-to-use interface for
434
226
  managing your data.
435
227
  email:
@@ -665,6 +457,7 @@ files:
665
457
  - lib/rails_admin/support/core_extensions.rb
666
458
  - lib/rails_admin/support/csv_converter.rb
667
459
  - lib/rails_admin/version.rb
460
+ - lib/rails_admin/version.rbc
668
461
  - lib/rails_admin.rb
669
462
  - lib/tasks/rails_admin.rake
670
463
  - spec/ci.sh
@@ -734,6 +527,7 @@ files:
734
527
  - spec/dummy_app/config/initializers/secret_token.rb
735
528
  - spec/dummy_app/config/initializers/session_patch.rb
736
529
  - spec/dummy_app/config/initializers/session_store.rb
530
+ - spec/dummy_app/config/initializers/strong_parameters.rb
737
531
  - spec/dummy_app/config/initializers/wrap_parameters.rb
738
532
  - spec/dummy_app/config/locales/fr.yml
739
533
  - spec/dummy_app/config/mongoid.yml
@@ -780,6 +574,7 @@ files:
780
574
  - spec/dummy_app/db/test.sqlite3
781
575
  - spec/dummy_app/doc/README_FOR_APP
782
576
  - spec/dummy_app/Gemfile
577
+ - spec/dummy_app/Gemfile.lock
783
578
  - spec/dummy_app/log/test.log
784
579
  - spec/dummy_app/public/404.html
785
580
  - spec/dummy_app/public/422.html
@@ -841,6 +636,7 @@ files:
841
636
  - spec/unit/config/fields/base_spec.rb
842
637
  - spec/unit/config/fields/date_spec.rb
843
638
  - spec/unit/config/fields/datetime_spec.rb
639
+ - spec/unit/config/fields/file_upload_spec.rb
844
640
  - spec/unit/config/fields/time_spec.rb
845
641
  - spec/unit/config/fields/timestamp_spec.rb
846
642
  - spec/unit/config/model_spec.rb
@@ -939,6 +735,7 @@ test_files:
939
735
  - spec/dummy_app/config/initializers/secret_token.rb
940
736
  - spec/dummy_app/config/initializers/session_patch.rb
941
737
  - spec/dummy_app/config/initializers/session_store.rb
738
+ - spec/dummy_app/config/initializers/strong_parameters.rb
942
739
  - spec/dummy_app/config/initializers/wrap_parameters.rb
943
740
  - spec/dummy_app/config/locales/fr.yml
944
741
  - spec/dummy_app/config/mongoid.yml
@@ -985,6 +782,7 @@ test_files:
985
782
  - spec/dummy_app/db/test.sqlite3
986
783
  - spec/dummy_app/doc/README_FOR_APP
987
784
  - spec/dummy_app/Gemfile
785
+ - spec/dummy_app/Gemfile.lock
988
786
  - spec/dummy_app/log/test.log
989
787
  - spec/dummy_app/public/404.html
990
788
  - spec/dummy_app/public/422.html
@@ -1046,6 +844,7 @@ test_files:
1046
844
  - spec/unit/config/fields/base_spec.rb
1047
845
  - spec/unit/config/fields/date_spec.rb
1048
846
  - spec/unit/config/fields/datetime_spec.rb
847
+ - spec/unit/config/fields/file_upload_spec.rb
1049
848
  - spec/unit/config/fields/time_spec.rb
1050
849
  - spec/unit/config/fields/timestamp_spec.rb
1051
850
  - spec/unit/config/model_spec.rb