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.71 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.70 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.69 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.68 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.67 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.66 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.65 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.64 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.63 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.62 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.61 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.60 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.59 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.58 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.57 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.56 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.54 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.53 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.52 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.6.51 test/lib/vedeu/distributed/test_application_test.rb