debian-mirror-gitlab/spec/models/experiment_user_spec.rb
2020-10-24 23:57:45 +05:30

14 lines
313 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ExperimentUser do
describe 'Associations' do
it { is_expected.to belong_to(:experiment) }
it { is_expected.to belong_to(:user) }
end
describe 'Validations' do
it { is_expected.to validate_presence_of(:group_type) }
end
end