Sha256: 8fe21cdd4cf00ab8b51b3da0e89c3480b9bb4d07b1094df5ebcc008f5a0c0f86

Contents?: true

Size: 696 Bytes

Versions: 3

Compression:

Stored size: 696 Bytes

Contents

require 'test_helper'

describe 'Views' do

  describe '.interface' do
    subject {
      Vedeu.interface 'keymaps' do
        # ...
      end
    }

    context 'when no value is provided' do

    end
  end

  describe '.renders' do
    subject {
      Vedeu.renders do
        # ...
      end
    }

    context 'when no block is given' do
      subject { Vedeu.renders }

      it { proc { subject }.must_raise(Vedeu::InvalidSyntax) }
    end
  end

  describe '.views' do
    subject {
      Vedeu.views do
        # ...
      end
    }

    context 'when no block is given' do
      subject { Vedeu.views }

      it { proc { subject }.must_raise(Vedeu::InvalidSyntax) }
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.4.2 test/integration/dsl/views_test.rb
vedeu-0.4.1 test/integration/dsl/views_test.rb
vedeu-0.4.0 test/integration/dsl/views_test.rb