Sha256: ad7c5e158ad02686e6b97a9bd8ec928989f73a580f57a76eb47959264e93f635
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
require 'spec_helper' require 'opennorth/represent/models/postal_code' require 'opennorth/represent/models/representative' describe Opennorth::Represent::PostalCode, type: :model do let(:service) { Opennorth::Represent.new({}) } describe "#representatives" do subject { service.postal_codes.get("V6H2V4").representatives } it "should be composed of Representatives" do expect(subject).to be_composed_of(Opennorth::Represent::Representative) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opennorth-represent-0.1.0 | spec/opennorth/represent/models/postal_code_spec.rb |