Sha256: 959033212955698ce49bdd20a31edf800b6adb2753718b6fe28a919ddc9da1a0

Contents?: true

Size: 519 Bytes

Versions: 1

Compression:

Stored size: 519 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.2.4 test/lib/vedeu/api/composition_test.rb