Sha256: 97182627641e2670def8e0002d3996ceb6d85122a7be6b3ed5261daacb210cf5

Contents?: true

Size: 331 Bytes

Versions: 12

Compression:

Stored size: 331 Bytes

Contents

# coding: utf-8
require_relative '../spreadsheet'
# Sheet1
describe 'Sheet1' do
  def sheet1; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet1; end

  it 'cell a4 should equal 1.0' do
    sheet1.a4.should be_within(0.1).of(1.0)
  end

  it 'cell a5 should equal 2.0' do
    sheet1.a5.should be_within(0.2).of(2.0)
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.23 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.22 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.21 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.20 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.19 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.18 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.17 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.16 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.13 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.10 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.9 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb
rubyfromexcel-0.0.5 examples/ruby-versions/namedReferenceTest-ruby/specs/sheet1_rspec.rb