Sha256: 0a73bc658a08fb665d4e03d8f3b8eadf99943414428a2166dcb6f1d7cb1d5bc4
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' require 'roo' describe ExcelAbstraction::WorkBook do let(:spreadsheet) { ExcelAbstraction::SpreadSheet.new } subject { spreadsheet.workbook } describe "#title" do it "sets the title property" do expect(subject).to receive(:set_properties).with(title: 'Foo') subject.title('Foo') end end describe "#organization" do it "sets the company property" do expect(subject).to receive(:set_properties).with(company: 'Foo') subject.organization('Foo') end end end
Version data entries
4 entries across 4 versions & 1 rubygems