Sha256: 8c63511d3c72bbdb4c5d4453212a2592737201cac18aef8daa5ec35996c4bd4d
Contents?: true
Size: 375 Bytes
Versions: 5
Compression:
Stored size: 375 Bytes
Contents
shared_examples 'upload avatar' do it 'uploads', js: true do sleep 0.5 click '#upload-picture-link' absolute_path = Rails.root + '../support/120x120.jpg' attach_file @file_name, absolute_path click_button 'Upload' flash_updated? end end shared_examples 'show avatar' do it 'shows avatar' do page.should have_css '#avatar-picture' end end
Version data entries
5 entries across 5 versions & 1 rubygems