Sha256: 60597f049524264d23f450c81fd8d71e922ad9f35b5c36a2f68136733bb8b6fb

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

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

  it 'cell d3 should equal 3.0' do
    sheet1.d3.should be_close(3.0,0.3)
  end

  it 'cell d4 should equal 7.0' do
    sheet1.d4.should be_close(7.0,0.7)
  end

  it 'cell d5 should equal 11.0' do
    sheet1.d5.should be_close(11.0,1.1)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyfromexcel-0.0.4 examples/ruby-versions/table-test-ruby/specs/sheet1_rspec.rb