Sha256: 249cebb255fd924c1e881d681803f4e36679598de8d8194831f2b6ce95c8e90b
Contents?: true
Size: 818 Bytes
Versions: 2
Compression:
Stored size: 818 Bytes
Contents
# frozen_string_literal: true require 'test_helper' module Vedeu class PresentationParentTestClass include Vedeu::Presentation::Parent def initialize(attributes = {}) @colour = attributes[:colour] @parent = attributes[:parent] end end # PresentationParentTestClass module Presentation describe Parent do let(:described) { Vedeu::Presentation::Parent } let(:included_described) { Vedeu::PresentationParentTestClass } let(:included_instance) { included_described.new(attributes) } let(:attributes) { { parent: Vedeu::PresentationParentTestClass.new } } describe '#parent' do it { included_instance.must_respond_to(:parent) } end end # Parent end # Presentation end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.26 | test/lib/vedeu/presentation/parent_test.rb |
vedeu-0.8.25 | test/lib/vedeu/presentation/parent_test.rb |