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