Commit 1c9c841e authored by Alex Kalderimis's avatar Alex Kalderimis

Combine two spec examples

parent 57d00292
......@@ -71,11 +71,8 @@ RSpec.describe Mutations::Issues::Create do
stub_licensed_features(epics: true)
end
it 'is successful' do
it 'is successful, and assigns the issue to the epic' do
expect(subject[:errors]).to be_empty
end
it 'assigns the issue to the epic' do
expect(mutated_issue).to have_attributes(epic: epic)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment