Sha256: 2ead5fca4573cc852ad113c3b21817794bc6ea15826f7b26031f299800925e3a

Contents?: true

Size: 1.37 KB

Versions: 26

Compression:

Stored size: 1.37 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) }
      it { instance.must_respond_to(:borders=) }
      it { instance.must_respond_to(:configuration) }
      it { instance.must_respond_to(:configuration=) }
      it { instance.must_respond_to(:events) }
      it { instance.must_respond_to(:events=) }
      it { instance.must_respond_to(:geometries) }
      it { instance.must_respond_to(:geometries=) }
      it { instance.must_respond_to(:interfaces) }
      it { instance.must_respond_to(:interfaces=) }
      it { instance.must_respond_to(:keymaps) }
      it { instance.must_respond_to(:keymaps=) }
      it { instance.must_respond_to(:menus) }
      it { instance.must_respond_to(:menus=) }
      it { instance.must_respond_to(:views) }
      it { 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

26 entries across 26 versions & 1 rubygems

Version Path
vedeu-0.5.13 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.5.12 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.5.11 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.5.10 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.5.9 test/lib/vedeu/distributed/test_application_test.rb
vedeu-0.5.8 test/lib/vedeu/distributed/test_application_test.rb