Skip to content

Commit 4d30e91

Browse files
author
Benedikt Artelt
committed
Add test file for modular editor
1 parent 71d356f commit 4d30e91

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

spec/system/editor_system_spec.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,16 @@
109109
expect(page).to have_no_content(I18n.t('exercises.editor.score'))
110110
end
111111
end
112+
113+
context 'contains resizer' do
114+
it 'contains a horizontal resizer' do
115+
visit(implement_exercise_path(exercise))
116+
expect(page).to have_css('#resizerHorizontal')
117+
end
118+
it 'contains a vertical resizer' do
119+
visit(implement_exercise_path(exercise))
120+
click_button(I18n.t('exercises.editor.score'))
121+
expect(page).to have_css('#resizerVertical')
122+
end
123+
end
112124
end

0 commit comments

Comments
 (0)