Sha256: 05d0974631d627863a44cea2bb8ce01306fd24321cc807225bd888bafe133ed3

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require 'spec_helper'

describe Pushpop::File do
  it 'should emit file contents as an array of strings' do
    step = Pushpop::File.new do
      path File.expand_path("../fixtures/file.txt", __FILE__)
    end
    result = step.run
    expect(result).to eq(["one", "two", "three"])
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pushpop-file-0.1.0 spec/pushpop-file_spec.rb