2020-02-19 13:09:10 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe ResourceEvents::ChangeMilestoneService do
|
2020-02-25 10:08:50 -05:00
|
|
|
it_behaves_like 'a milestone events creator' do
|
|
|
|
let(:resource) { create(:issue) }
|
2020-02-19 13:09:10 -05:00
|
|
|
end
|
|
|
|
|
2020-02-25 10:08:50 -05:00
|
|
|
it_behaves_like 'a milestone events creator' do
|
|
|
|
let(:resource) { create(:merge_request) }
|
2020-02-19 13:09:10 -05:00
|
|
|
end
|
|
|
|
end
|