Sha256: dc89f70709c6616689255f5f3104ae01ba903b4fc00ca72f30b3deadc58211bf

Contents?: true

Size: 395 Bytes

Versions: 24

Compression:

Stored size: 395 Bytes

Contents

require 'spec_helper'

module Quby::Questionnaires
  describe DSL do
    describe '.build_from_definition' do
      let(:repo) { Quby.send(:questionnaire_repo) }
      it 'builds a questionnaire from a definition' do
        definition = repo.find('simple')
        expect(described_class.build_from_definition(definition)).to be_instance_of(Entities::Questionnaire)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
quby-5.6.5 spec/quby/questionnaires/dsl_spec.rb
quby-5.6.3 spec/quby/questionnaires/dsl_spec.rb
quby-5.6.2 spec/quby/questionnaires/dsl_spec.rb
quby-5.6.1 spec/quby/questionnaires/dsl_spec.rb
quby-5.6.0 spec/quby/questionnaires/dsl_spec.rb
quby-5.5.0 spec/quby/questionnaires/dsl_spec.rb
quby-5.4.0 spec/quby/questionnaires/dsl_spec.rb
quby-5.3.1 spec/quby/questionnaires/dsl_spec.rb
quby-5.3.0 spec/quby/questionnaires/dsl_spec.rb
quby-5.2.0 spec/quby/questionnaires/dsl_spec.rb
quby-5.1.3 spec/quby/questionnaires/dsl_spec.rb
quby-5.1.2 spec/quby/questionnaires/dsl_spec.rb
quby-5.1.1 spec/quby/questionnaires/dsl_spec.rb
quby-5.1.0 spec/quby/questionnaires/dsl_spec.rb
quby-5.0.5 spec/quby/questionnaires/dsl_spec.rb
quby-5.0.4 spec/quby/questionnaires/dsl_spec.rb
quby-5.0.3 spec/quby/questionnaires/dsl_spec.rb
quby-5.0.2 spec/quby/questionnaires/dsl_spec.rb
quby-5.0.1 spec/quby/questionnaires/dsl_spec.rb
quby-5.0.0 spec/quby/questionnaires/dsl_spec.rb