Sha256: 4dbeb102f4adb1b1bddcb06684a811e8722695a138efd7e46af476c0161dbe68

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

module ExcelWalker
  describe Writer do
    describe '.create' do
      before { Writer::Writer.stub(new: :writer)  }
      it 'should create a new instance of writer' do
        expect(Writer.create('path')).to eq :writer
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
excel_walker-0.1.7 spec/excel_walker/writer_spec.rb
excel_walker-0.1.5 spec/excel_walker/writer_spec.rb
excel_walker-0.1.4 spec/excel_walker/writer_spec.rb
excel_walker-0.1.3 spec/excel_walker/writer_spec.rb
excel_walker-0.1.2 spec/excel_walker/writer_spec.rb
excel_walker-0.1.1 spec/excel_walker/writer_spec.rb
excel_walker-0.1.0 spec/excel_walker/writer_spec.rb
excel_walker-0.0.1 spec/excel_walker/writer_spec.rb