Fix dashboard test

This commit is contained in:
Kyle Drake 2015-05-11 10:02:12 -07:00
parent e91208c2f2
commit 496385438a

View file

@ -26,7 +26,7 @@ describe 'dashboard' do
it 'creates a new file' do
random = SecureRandom.uuid.gsub('-', '')
visit '/dashboard'
click_link 'New Page / File'
click_link 'New File'
fill_in 'filename', with: "#{random}.html"
#click_button 'Create'
all('#createFile button[type=submit]').first.click