Sha256: e0757ccc714980d244dca98cf0cb303182a1e664df76feb722beed92dfca0bc7

Contents?: true

Size: 253 Bytes

Versions: 3

Compression:

Stored size: 253 Bytes

Contents

require 'spec_helper'

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

3 entries across 3 versions & 1 rubygems

Version Path
gaku-0.0.3 core/spec/models/note_spec.rb
gaku-0.0.2 core/spec/models/note_spec.rb
gaku-0.0.1 core/spec/models/note_spec.rb