Sha256: 75c9ff03bf8dc9718d36644830fa34acd0c8f6e5e745c75656d1e6604023354a
Contents?: true
Size: 392 Bytes
Versions: 5
Compression:
Stored size: 392 Bytes
Contents
# coding: utf-8 require 'spec_helper' describe JpPrefecture do describe '.included' do subject do Class.new(ActiveRecord::Base) do include JpPrefecture end end it { should respond_to(:jp_prefecture) } end describe 'include されていない' do subject { Class.new(ActiveRecord::Base) } it { should_not respond_to(:jp_prefecture) } end end
Version data entries
5 entries across 5 versions & 1 rubygems