Sha256: 29e02cba14720d42b45005d5aa29c2665b3df314770fa6326bceb07eeebe0bb8

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

require 'test_helper'

describe 'Streams' do

  describe '#align' do
    subject {
      Vedeu.interface 'streams' do
        lines do
          streams do
            align 'Some text...'
          end
        end
      end
    }

    context 'when no value is provided' do

    end
  end

  describe '#background' do
    subject {
      Vedeu.interface 'streams' do
        lines do
          streams do
            background ''
          end
        end
      end
    }

    context 'when no value is provided' do

    end
  end

  describe '#colour' do
    subject {
      Vedeu.interface 'streams' do
        lines do
          streams do
            colour ''
          end
        end
      end
    }

    context 'when no value is provided' do

    end
  end

  describe '#foreground' do
    subject {
      Vedeu.interface 'streams' do
        lines do
          streams do
            foreground ''
          end
        end
      end
    }

    context 'when no value is provided' do

    end
  end

  describe '#style' do
    let(:value) { '' }

    subject {
      Vedeu.interface 'lines' do
        lines do
          streams do
            style value
          end
        end
      end
    }

    context 'when no value is provided' do
      let(:value) {}
    end
  end

  describe '#text' do
    subject {
      Vedeu.interface 'streams' do
        lines do
          streams do
            text 'Some text...'
          end
        end
      end
    }

    context 'when no value is provided' do

    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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