Sha256: cad2598619ee455926da06c19efc50eb74ba2b3efe3c67fc032c285f0eeb9fdb
Contents?: true
Size: 331 Bytes
Versions: 6
Compression:
Stored size: 331 Bytes
Contents
require 'spec_helper' describe Helena::QuestionGroup do let!(:version) { create :version, survey: create(:survey) } it { expect(subject).to have_many(:questions).with_dependent(:destroy) } it { expect(subject).to belong_to(:version) } it 'has a valid factory' do expect(build(:question_group)).to be_valid end end
Version data entries
6 entries across 6 versions & 1 rubygems