Sha256: b63f32ce0a695b1e62dcaba2d7de7bd0bf3386648a0c53107594392dab2c1faa

Contents?: true

Size: 348 Bytes

Versions: 16

Compression:

Stored size: 348 Bytes

Contents

# add assigments when integrate with GradingMethodConnector
%w( class_group ).each do |resource|
  FactoryGirl.define do

    factory "#{resource}_student_review", class: Gaku::StudentReview do
      content 'Excellent student'
      student
      student_review_category
      association :student_reviewable, factory: resource
    end

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_core-0.3.0 lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.3.0.pre.4 lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.3.0.pre.3 lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.3.0.pre.2 lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.3.0.pre.1 lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.3.0.pre.0 lib/gaku/testing/factories/student_review_factory.rb
gaku-0.2.4 core/lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.2.4 lib/gaku/testing/factories/student_review_factory.rb
gaku-0.2.3 core/lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.2.3 lib/gaku/testing/factories/student_review_factory.rb
gaku-0.2.2 core/lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.2.2 lib/gaku/testing/factories/student_review_factory.rb
gaku-0.2.1 core/lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.2.1 lib/gaku/testing/factories/student_review_factory.rb
gaku-0.2.0 core/lib/gaku/testing/factories/student_review_factory.rb
gaku_core-0.2.0 lib/gaku/testing/factories/student_review_factory.rb