Sha256: 2de063c2c724eb69db1211eda33d081a13f2e0e5f61f72ffdd3bd7087a9ae5f5
Contents?: true
Size: 379 Bytes
Versions: 5
Compression:
Stored size: 379 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