Sha256: ab85158a420c192629ee19d34bf1583d66be91e8f7129425b2414725f32ccf1f
Contents?: true
Size: 297 Bytes
Versions: 7
Compression:
Stored size: 297 Bytes
Contents
require 'spec_helper' describe Helena::Label do it { expect(subject).to be_embedded_in(:question) } it { expect(subject).to validate_presence_of(:value) } it { expect(subject).to validate_uniqueness_of(:value) } it 'has a valid factory' do expect(build :label).to be_valid end end
Version data entries
7 entries across 7 versions & 1 rubygems