Sha256: 22e189e42aee1f5ba276cbfe7c9a1fe8165a411383d369b8bdb8761f3ba59c14

Contents?: true

Size: 228 Bytes

Versions: 35

Compression:

Stored size: 228 Bytes

Contents

require 'spec_helper'

describe 'blank' do
  it 'should report blank when blank' do
    expect('  '.blank?).to eq(true)
  end

  it 'should report not blank when not blank' do
    expect('  text '.blank?).to eq(false)
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 spec/extra_core/blank_spec.rb
volt-0.9.7.pre7 spec/extra_core/blank_spec.rb
volt-0.9.7.pre6 spec/extra_core/blank_spec.rb
volt-0.9.7.pre5 spec/extra_core/blank_spec.rb
volt-0.9.7.pre3 spec/extra_core/blank_spec.rb
volt-0.9.7.pre2 spec/extra_core/blank_spec.rb
volt-0.9.6 spec/extra_core/blank_spec.rb
volt-0.9.6.pre3 spec/extra_core/blank_spec.rb
volt-0.9.6.pre2 spec/extra_core/blank_spec.rb
volt-0.9.6.pre1 spec/extra_core/blank_spec.rb
volt-0.9.5 spec/extra_core/blank_spec.rb
volt-0.9.5.pre12 spec/extra_core/blank_spec.rb
volt-0.9.5.pre11 spec/extra_core/blank_spec.rb
volt-0.9.5.pre9 spec/extra_core/blank_spec.rb
volt-0.9.5.pre8 spec/extra_core/blank_spec.rb
volt-0.9.5.pre7 spec/extra_core/blank_spec.rb
volt-0.9.5.pre6 spec/extra_core/blank_spec.rb
volt-0.9.5.pre5 spec/extra_core/blank_spec.rb
volt-0.9.5.pre4 spec/extra_core/blank_spec.rb
volt-0.9.5.pre3 spec/extra_core/blank_spec.rb