Sha256: e65136cb8fd474022ef12271b06fff4cc408d95722cca1ec8538e923a316c54a
Contents?: true
Size: 386 Bytes
Versions: 24
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' describe Rearview::Dashboard do describe 'factory' do it 'should be valid' do expect { FactoryGirl.create(:dashboard) }.not_to raise_error expect( FactoryGirl.create(:dashboard).valid? ).to be_true end end describe 'validations' do it { should validate_presence_of(:name) } it { should validate_presence_of(:user_id) } end end
Version data entries
24 entries across 24 versions & 1 rubygems