Sha256: 2bb4bb3f5dfc22d03fdc6103f9572417a29fff89dc6f4eb45a02ec0a763e4544
Contents?: true
Size: 835 Bytes
Versions: 3
Compression:
Stored size: 835 Bytes
Contents
require 'spec_helper' module Cellect::Server describe Loader do SET_TYPES.each do |workflow_type| it_behaves_like "loader" do let(:workflow) { Workflow.new(workflow_type) } let(:loader) { Loader.new(workflow) } let(:subjects) { workflow.set_klass.new } describe "#load_data" do it "should add data to the workflow subjects" do expect(workflow.subjects) .to receive(:add) .exactly(fixture_count) loader.load_data end end describe "#reload_data" do it "should add data to the workflow subjects" do expect(subjects) .to receive(:add) .exactly(fixture_count) loader.reload_data(subjects) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cellect-server-3.0.2 | spec/cellect/server/loader_spec.rb |
cellect-server-3.0.1 | spec/cellect/server/loader_spec.rb |
cellect-server-3.0.0 | spec/cellect/server/loader_spec.rb |