Sha256: 72135854032b731e903a8fc8dec12e894ff8499840c5921212c0cf102f47a9e9

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

module RSpec
  module Helpers
    module RecordWriterHelper

      def mock_writer
        writer = instance_double "DataForge::File::RecordFileWriter"

        expect(writer).to receive(:open)
        expect(writer).to receive(:close)

        writer
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
data_forge-0.1.1 spec/support/helpers/record_writer_helper.rb
data_forge-0.1 spec/support/helpers/record_writer_helper.rb