Sha256: 7dcc1ae56143cfa3fce07357ff5ee5bd062ccc11840da1d1b11ed08792d70f3f

Contents?: true

Size: 1.31 KB

Versions: 51

Compression:

Stored size: 1.31 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 {
        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

    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

51 entries across 51 versions & 1 rubygems

Version Path
vedeu-0.6.50 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.49 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.48 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.47 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.46 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.45 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.44 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.43 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.42 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.41 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.40 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.39 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.38 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.37 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.36 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.35 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.34 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.33 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.32 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.31 test/lib/vedeu/distributed/test_application_test.rb