Sha256: 944193bd3dd91a003c5c55969c7c01bada3703fd42712bcb1b2dc3e2a4ad141b

Contents?: true

Size: 1.9 KB

Versions: 28

Compression:

Stored size: 1.9 KB

Contents

require 'test_helper'

module Vedeu

  module Cursors

    describe DSL do

      let(:described) { Vedeu::Cursors::DSL }

      # describe '#cursor' do
      #   let(:_value) {}

      #   before { Vedeu.cursors.reset }

      #   subject { instance.cursor(_value) }

      #   it {
      #     subject
      #     Vedeu.cursors.find('actinium').visible?.must_equal(false)
      #   }

      #   context 'when the value is false' do
      #     let(:_value) { false }

      #     it {
      #       subject
      #       Vedeu.cursors.find('actinium').visible?.must_equal(false)
      #     }
      #   end

      #   context 'when the value is nil' do
      #     let(:_value) {}

      #     it {
      #       subject
      #       Vedeu.cursors.find('actinium').visible?.must_equal(false)
      #     }
      #   end

      #   context 'when the value is :show' do
      #     let(:_value) { :show }

      #     it {
      #       subject
      #       Vedeu.cursors.find('actinium').visible?.must_equal(true)
      #     }
      #   end

      #   context 'when the value is true' do
      #     let(:_value) { true }

      #     it {
      #       subject
      #       Vedeu.cursors.find('actinium').visible?.must_equal(true)
      #     }
      #   end

      #   context 'when the value is :yes' do
      #     let(:_value) { :yes }

      #     it {
      #       subject
      #       Vedeu.cursors.find('actinium').visible?.must_equal(true)
      #     }
      #   end
      # end

      # describe '#cursor!' do
      #   subject { instance.cursor! }

      #   it {
      #     subject
      #     Vedeu.cursors.find('actinium').visible?.must_equal(true)
      #   }
      # end

      # describe '#no_cursor!' do
      #   subject { instance.no_cursor! }

      #   it {
      #     subject
      #     Vedeu.cursors.find('actinium').visible?.must_equal(false)
      #   }
      # end

    end # DSL

  end # Cursors

end # Vedeu

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
vedeu-0.6.71 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.70 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.69 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.68 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.67 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.66 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.65 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.64 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.63 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.62 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.61 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.60 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.59 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.58 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.57 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.56 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.54 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.53 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.52 test/lib/vedeu/cursors/dsl_test.rb
vedeu-0.6.51 test/lib/vedeu/cursors/dsl_test.rb