spec/rspreadsheet_spec.rb in rspreadsheet-0.1.0 vs spec/rspreadsheet_spec.rb in rspreadsheet-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Rspreadsheet::Tools do
it 'converts correctly cell adresses' do
- Rspreadsheet::Tools.convert_cell_address('A1') [0].should == 1
+ Rspreadsheet::Tools.convert_cell_address('A1')[0].should == 1
Rspreadsheet::Tools.convert_cell_address('A1')[1].should == 1
Rspreadsheet::Tools.convert_cell_address('C5')[0].should == 5
Rspreadsheet::Tools.convert_cell_address('C5')[1].should == 3
end
end