Sha256: 17f12e212bf9eb669e0a008e03cdf857cc907341e59ed06201a652658a96e68d

Contents?: true

Size: 227 Bytes

Versions: 21

Compression:

Stored size: 227 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

21 entries across 21 versions & 1 rubygems

Version Path
volt-0.9.1 spec/extra_core/blank_spec.rb
volt-0.9.1.pre5 spec/extra_core/blank_spec.rb
volt-0.9.1.pre4 spec/extra_core/blank_spec.rb
volt-0.9.1.pre3 spec/extra_core/blank_spec.rb
volt-0.9.1.pre2 spec/extra_core/blank_spec.rb
volt-0.9.1.pre1 spec/extra_core/blank_spec.rb
volt-0.9.0 spec/extra_core/blank_spec.rb
volt-0.9.0.pre7 spec/extra_core/blank_spec.rb
volt-0.9.0.pre6 spec/extra_core/blank_spec.rb
volt-0.9.0.pre5 spec/extra_core/blank_spec.rb
volt-0.9.0.pre4 spec/extra_core/blank_spec.rb
volt-0.9.0.pre3 spec/extra_core/blank_spec.rb
volt-0.9.0.pre2 spec/extra_core/blank_spec.rb
volt-0.9.0.pre1 spec/extra_core/blank_spec.rb
volt-0.8.27.beta9 spec/extra_core/blank_spec.rb
volt-0.8.27.beta8 spec/extra_core/blank_spec.rb
volt-0.8.27.beta7 spec/extra_core/blank_spec.rb
volt-0.8.27.beta6 spec/extra_core/blank_spec.rb
volt-0.8.27.beta5 spec/extra_core/blank_spec.rb
volt-0.8.27.beta4 spec/extra_core/blank_spec.rb