Sha256: 9f9a8e55cbf19b7fcb09927b14e4a74305f8b4c31edf5ab870b4227f716da015

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

require 'spec_helper'
require 'opennorth/represent/models/office'

describe Opennorth::Represent::Office, type: :model do
  let(:service) { Opennorth::Represent.new({}) }

  let(:required_model_attributes) { {} }
  let(:optional_model_attributes) {{
    "type" => "legislature",
    "fax" => "1-613-941-6900",
    "postal" => "House of Commons\nOttawa ON  K1A 0A6",
    "tel" => "1-613-992-4211"
  }}

  it_behaves_like "optional model attributes include", %w(type fax postal tel)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opennorth-represent-0.1.0 spec/opennorth/represent/models/office_spec.rb