diff options
| author | mo khan <mo@mokhan.ca> | 2014-09-21 21:10:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-09-21 21:10:49 -0600 |
| commit | d0e492ebebb97fd012c445c18cc18d6a6f5fbe83 (patch) | |
| tree | 9b1d2fc18fc76534ae0e70d336be7bfd2e7ebe9b /spec/features | |
| parent | 4fc93ce9856a01270ecfa820cc5007039286f87b (diff) | |
fix broken spec.
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/upload_avatar_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/upload_avatar_spec.rb b/spec/features/upload_avatar_spec.rb index 2ac0a3a5..176c7aed 100644 --- a/spec/features/upload_avatar_spec.rb +++ b/spec/features/upload_avatar_spec.rb @@ -12,7 +12,7 @@ describe "uploading an avatar", js: true do click_button("Sign In") visit new_my_avatar_path file = File.expand_path(File.join(Rails.root, '/spec/fixtures/images/gorilla.jpg')) - within(".edit_photo") do + within(".new_photo") do attach_file('photo_image', file) end click_button "Upload picture" |
