Sha256: 880dde31ad3a52d857ef5a84e46313e8dea8d269f6d99a3ffcf514dc6daf0a3b
Contents?: true
Size: 746 Bytes
Versions: 76
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
76 entries across 76 versions & 1 rubygems