Skip to content

Commit

Permalink
style: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 22, 2019
1 parent 29be3bb commit 7a242f2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions spec/lib/pact/doc/markdown/consumer_contract_renderer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ module Pact
module Doc
module Markdown
describe ConsumerContractRenderer do

subject { ConsumerContractRenderer.new(consumer_contract) }
let(:consumer_contract) { Pact::ConsumerContract.from_uri './spec/support/markdown_pact.json' }

let(:expected_output) { File.read("./spec/support/generated_markdown.md", external_encoding: Encoding::UTF_8) }

describe "#call" do
subject { ConsumerContractRenderer.new(consumer_contract) }

describe "#call" do
context "with markdown characters in the pacticipant names" do
let(:consumer_contract) { Pact::ConsumerContract.from_uri './spec/support/markdown_pact_with_markdown_chars_in_names.json' }

Expand Down Expand Up @@ -56,7 +54,6 @@ module Markdown
its(:full_interactions) { is_expected.to_not include "<h1>alligators</h1>" }
end
end

end
end
end
Expand Down

0 comments on commit 7a242f2

Please sign in to comment.