Sha256: 66df32169c9954edb817b95f09423491eb70232d9616280856adcd8bd4d7413c
Contents?: true
Size: 846 Bytes
Versions: 1
Compression:
Stored size: 846 Bytes
Contents
require 'spec_helper' describe G5Updatable::PointOfInterest do it { is_expected.to belong_to :location } subject { create(:point_of_interest) } its(:name) { is_expected.to eq('Iron Maiden') } its(:place_id) { is_expected.to eq('666numberofthebeast') } its(:address) { is_expected.to eq('7th son of a 7th son') } its(:city) { is_expected.to eq('Rime of the Ancient Mariner') } its(:state) { is_expected.to eq('OR') } its(:postal_code) { is_expected.to eq('97703') } its(:location_type) { is_expected.to eq('entertainment') } its(:latitude) { is_expected.to eq(44.051739) } its(:longitude) { is_expected.to eq(-121.315088) } its(:phone_number) { is_expected.to eq('555-555-5555') } its(:website) { is_expected.to eq('www.stringerismylovechild.com') } its(:google_map_url) { is_expected.to eq('www.aceshigh.com') } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g5_updatable-1.0.2.pre.1 | spec/models/g5_updatable/point_of_interest_spec.rb |