Sha256: 4ed0253c37a5f1d752a44e6243dc1a2062ad2d53f41d09ce8fb5e9f0ad0d2fde
Contents?: true
Size: 699 Bytes
Versions: 54
Compression:
Stored size: 699 Bytes
Contents
require 'rails_helper' describe MagicAddresses::Subdistrict do describe 'should have usual attributes' do # usual it { should respond_to :default_name } it { should respond_to :short_name } it { should respond_to :fsm_state } # globalize it { should respond_to :name } it { should respond_to :read_attribute } it { should accept_nested_attributes_for :translations } # address it { should respond_to :addresses } it { should have_many :addresses } # more it { should respond_to :city } it { should belong_to :city } it { should respond_to :district } it { should belong_to :district } end end
Version data entries
54 entries across 54 versions & 1 rubygems