Sha256: 5e66b16a53b87607b2e7991cddb7c0f74bf4112cff06420577c899e17d7889d7

Contents?: true

Size: 551 Bytes

Versions: 8

Compression:

Stored size: 551 Bytes

Contents

require 'test_helper'

module Vedeu

  module API

    describe Composition do

      describe '.render' do
        it 'raises an exception when a block is not given' do
          proc { Vedeu.render }.must_raise(InvalidSyntax)
        end
      end

      describe '#view' do
        it 'returns a Hash' do
          Vedeu.view('thulium') do
            # ...
          end.must_be_instance_of(Hash)
        end

        it 'allows a single view to be defined' do
          skip
        end
      end

    end # Composition

  end # API

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.2.12 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.11 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.10 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.9 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.8 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.7 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.6 test/lib/vedeu/api/composition_test.rb
vedeu-0.2.5 test/lib/vedeu/api/composition_test.rb