Sha256: 1918d534bf39f10c068c12f8f4fbfdbaa8bcc381834c551588839d551f7ad64f
Contents?: true
Size: 746 Bytes
Versions: 12
Compression:
Stored size: 746 Bytes
Contents
require "pact_broker/api/renderers/integrations_dot_renderer" module PactBroker module Api module Renderers describe IntegrationsDotRenderer do # TODO work out how to handle apostrophes etc let(:integrations) do [ double("integration", consumer_name: "Foo", provider_name: "Bar"), double("integration", consumer_name: "Wiffle", provider_name: "Foo Thing") ] end let(:expected_content) { load_fixture("expected.gv") } describe "#call" do subject { IntegrationsDotRenderer.call(integrations) } it "renders a dot file" do expect(subject).to eq expected_content end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems