Sha256: af7442b71207562c985ec31400b13c7af980448c12c404b4ae33455dc1ce4c4b
Contents?: true
Size: 413 Bytes
Versions: 1
Compression:
Stored size: 413 Bytes
Contents
# coding: utf-8 require_relative '../spreadsheet' # Calcs describe 'Sheet2' do def sheet2; $spreadsheet ||= Spreadsheet.new; $spreadsheet.sheet2; end it 'cell a1 should equal 121.0' do sheet2.a1.should be_close(121.0,12.1) end it 'cell a4 should equal 99.0' do sheet2.a4.should be_close(99.0,9.9) end it 'cell c9 should equal "In result"' do sheet2.c9.should == "In result" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyfromexcel-0.0.4 | examples/ruby-versions/pruning-ruby/specs/sheet2_rspec.rb |