Sha256: 923844c23ed0ebbf31ef499e2774f77c7aa7ed50ee7f09e51565f9cc996728c7
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
# typed: ignore # frozen_string_literal: true RSpec.describe EML::UK::Agreement do extend EML::Helpers::Config configure_uk describe ".show" do it "gives an ok response" do EML::Helpers::VCR.with_cassette("uk/agreement/show") do response = described_class.show expect(response.success?).to be true end end it "retreives a URL" do EML::Helpers::VCR.with_cassette("uk/agreement/show") do response = described_class.show expect(response.pdf_url.match?(%r{https://.+\.pdf})).to be true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eml-1.0.0 | spec/uk/resources/agreement_spec.rb |