Sha256: 342ac2571a680cdd4235817f48f6c812e6da89e84c474c10b6e702581426817d
Contents?: true
Size: 330 Bytes
Versions: 8
Compression:
Stored size: 330 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
8 entries across 8 versions & 1 rubygems