Sha256: eba23d3683514a89fc864285005dd8ea3fb7b21d91e3262bcfc8a085f267d5a9

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

require "spec_helper"
require_relative "a_pipe"
require "async"

RSpec.describe Plumbing::Pipe do
  context "inline" do
    around :example do |example|
      Plumbing.configure mode: :inline, &example
    end

    it_behaves_like "a pipe"
  end

  context "async" do
    around :example do |example|
      Sync do
        Plumbing.configure mode: :async, &example
      end
    end

    it_behaves_like "a pipe"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
standard-procedure-plumbing-0.3.2 spec/plumbing/pipe_spec.rb