define accessible attrs for SisBatch, Story
Change-Id: Ia17b9aa6c159be611b9f0bda4377b5fd524093f6 Reviewed-on: https://gerrit.instructure.com/3876 Tested-by: Hudson <hudson@instructure.com> Reviewed-by: Brian Palmer <brianp@instructure.com>
This commit is contained in:
parent
ae78629cfd
commit
029c29d8c9
|
@ -27,7 +27,7 @@ class SisBatch < ActiveRecord::Base
|
|||
belongs_to :batch_mode_term, :class_name => 'EnrollmentTerm'
|
||||
|
||||
attr_accessor :zip_path
|
||||
attr_accessible
|
||||
attr_accessible :batch_mode, :batch_mode_term
|
||||
|
||||
def self.max_attempts
|
||||
5
|
||||
|
|
|
@ -49,7 +49,8 @@ describe 'Models' do
|
|||
ActiveRecord::Base,
|
||||
ActiveRecord::SessionStore::Session,
|
||||
Delayed::Backend::ActiveRecord::Job,
|
||||
Version
|
||||
Version,
|
||||
Story
|
||||
]
|
||||
(ignore_classes << AddThumbnailUuid::Thumbnail) rescue nil
|
||||
(ignore_classes << CustomField) rescue nil
|
||||
|
|
Loading…
Reference in New Issue