Skip to content

Commit 24e6108

Browse files
committed
wip
1 parent 03633f9 commit 24e6108

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/system/exercises_system_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@
5959

6060
fill_in 'Difficulty', with: 5
6161

62+
click_on 'Add file'
63+
64+
wait_for_ajax
65+
66+
within(find_by_id('files').all('li').last) do
67+
fill_in 'Name', with: 'main'
68+
69+
all('input').last.set(Rails.root.join('db/seeds/fibonacci/reference.rb'))
70+
end
71+
6272
click_on 'Create Exercise'
6373

6474
expect(page).to have_text 'Exercise has successfully been created.'

0 commit comments

Comments
 (0)