Skip to content

Commit ed1c88c

Browse files
committed
merge convert
1 parent bd6a25c commit ed1c88c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/services/proforma_service/convert_exercise_to_task_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
end
127127

128128
context 'when xml_id_path is set for file' do
129-
let(:file) { create(:file, xml_id_path: ['foobar']) }
129+
let(:file) { create(:file, xml_id_path: ['foobar'], context: create(:dummy)) }
130130

131131
it 'does not change xml_id_path' do
132132
expect { convert_to_task.execute }.not_to change(file.reload, :xml_id_path)

0 commit comments

Comments
 (0)