Sha256: ae5ae57e4d8e02b066c611545d30e49dc148204a3a9c9c101c1ed948b5bb05f4
Contents?: true
Size: 568 Bytes
Versions: 5
Compression:
Stored size: 568 Bytes
Contents
require 'spec_helper' describe Colander::Parser::Xlsx do it "is subclass of Colander::Parser::Xls" do Colander::Parser::Xlsx.new("foo/bar").should be_a Colander::Parser::Xls end describe "#parse" do it "retreives emails from an xlsx spreadsheet" do parser = Colander::Parser::Xlsx.new("spec/fixtures/new-format.xlsx") parser.parse parser.emails.sort.should eql(["markus.nordin@mynewsdesk.com", "markus@hej.se", "sven@bertil.se", "Adam.A@hotmail.com", "apa@elabs.se", "liam@neeson.net", "david@mynewsdesk.com"].sort) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
colander-0.2.1 | spec/xlsx_spec.rb |
colander-0.2.0 | spec/xlsx_spec.rb |
colander-0.1.2 | spec/xlsx_spec.rb |
colander-0.1.1 | spec/xlsx_spec.rb |
colander-0.1.0 | spec/xlsx_spec.rb |