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

17 lines
491 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ResourceIterationEvent, type: :model do
it_behaves_like 'a resource event'
it_behaves_like 'a resource event for issues'
it_behaves_like 'a resource event for merge requests'
it_behaves_like 'having unique enum values'
it_behaves_like 'timebox resource event validations'
it_behaves_like 'timebox resource event actions'
describe 'associations' do
it { is_expected.to belong_to(:iteration) }
end
end