Sha256: 2370edbaebf8f6665cbd9ba45edb9f2fa57d9a15a063861c5d59add7042e4c34
Contents?: true
Size: 260 Bytes
Versions: 7
Compression:
Stored size: 260 Bytes
Contents
require 'spec_helper_models' describe Gaku::Note do describe 'associations' do it { should belong_to :notable } end describe 'validations' do it { should validate_presence_of :title } it { should validate_presence_of :content } end end
Version data entries
7 entries across 7 versions & 1 rubygems