Sha256: 5bbeaa00e2cae2a7e4e7122510d6ecbb5402afd4c796aee8aebbb5f8d5d1ce44
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
RSpec.describe Rambo::RamlModels::Headers do let(:raml) { Raml::Parser.parse_file(raml_file) } let(:raml_file) { File.expand_path("../../../support/post_with_request_headers.raml", __FILE__) } let(:headers) { raml.resources.first.methods.first.headers } subject { described_class.new(headers) } describe "#pretty" do let(:pretty) do "{\n\t\"Content-Type\" => \"application/json\"\n}" end it "makes it pretty" do expect(subject.pretty).to eql pretty end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rambo_ruby-0.1.0 | spec/lib/raml_models/headers_spec.rb |