Sha256: ebf6233d50855512d1f7fc8ef00c6040707b86ef515cb14ee1d99111a687f582

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

require 'spec_helper'

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

Version data entries

8 entries across 8 versions & 1 rubygems

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