Sha256: 187718cddcd23e812531ffc10e23fcdc22c875fddb47d8c1c172af219e33b0af

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

require 'helper'

class TestRemoteTable < Test::Unit::TestCase
  should "open an XLSX" do
    t = RemoteTable.new 'www.customerreferenceprogram.org/uploads/CRP_RFP_template.xlsx'
    assert_equal "Secure encryption of all data", t[5]["Requirements"]
  end
  
  should "add a row hash to every row" do
    t = RemoteTable.new(:url => 'www.customerreferenceprogram.org/uploads/CRP_RFP_template.xlsx')
    assert_equal "59d68cfc1cd6b32f5b333d6f0e4bea6d", t[5]['row_hash']
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
remote_table-1.0.1 test/test_remote_table.rb
remote_table-1.0.0 test/test_remote_table.rb