Sha256: 0dcec596bd028ba16cc6f0c96f3c8d52cf947c889b17369a6b5db8736a477c07

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 KB

Contents

require 'test_helper'

module Vedeu

  describe TestApplication do

    let(:described)  { Vedeu::TestApplication }
    let(:instance)   { described.new(attributes) }
    let(:attributes) { {} }

    describe '#initialize' do
      it { instance.must_be_instance_of(described) }
    end

    describe 'accessors' do
      it do
        instance.must_respond_to(:borders)
        instance.must_respond_to(:borders=)
        instance.must_respond_to(:configuration)
        instance.must_respond_to(:configuration=)
        instance.must_respond_to(:events)
        instance.must_respond_to(:events=)
        instance.must_respond_to(:geometries)
        instance.must_respond_to(:geometries=)
        instance.must_respond_to(:interfaces)
        instance.must_respond_to(:interfaces=)
        instance.must_respond_to(:keymaps)
        instance.must_respond_to(:keymaps=)
        instance.must_respond_to(:menus)
        instance.must_respond_to(:menus=)
        instance.must_respond_to(:views)
        instance.must_respond_to(:views=)
      end
    end

    describe '.build' do
      subject { described.build(attributes) { } }

      it { subject.must_be_instance_of(String) }
    end

    describe '#lib_dir' do
      subject { instance.lib_dir }

      it { subject.must_be_instance_of(String) }
    end

  end # TestApplication

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.7.4 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.7.3 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.7.2 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.7.1 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.7.0 test/lib/vedeu/distributed/test_application_test.rb