Sha256: 9f104096fb2fd30878905c3b6682a9f5d39366c4873f437f7bc62278e9d2b05d

Contents?: true

Size: 300 Bytes

Versions: 16

Compression:

Stored size: 300 Bytes

Contents

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

    factory "grading_method_connector_#{resource}", class: Gaku::GradingMethodConnector do
      grading_method
      association :gradable, 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/grading_method_connector_factory.rb
gaku_core-0.3.0.pre.4 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.3.0.pre.3 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.3.0.pre.2 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.3.0.pre.1 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.3.0.pre.0 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku-0.2.4 core/lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.2.4 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku-0.2.3 core/lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.2.3 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku-0.2.2 core/lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.2.2 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku-0.2.1 core/lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.2.1 lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku-0.2.0 core/lib/gaku/testing/factories/grading_method_connector_factory.rb
gaku_core-0.2.0 lib/gaku/testing/factories/grading_method_connector_factory.rb