Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix photos test

  • Loading branch information...
commit c32756cd83fa550f7de55a19c8de08cf89d6bdf7 1 parent dcf2da2
@bborn bborn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/functional/photos_controller_test.rb
View
4 test/functional/photos_controller_test.rb
@@ -15,7 +15,7 @@ def test_should_create_photo
post :create,
:photo => { :uploaded_data => fixture_file_upload('files/library.jpg', 'image/jpg') },
:user_id => users(:quentin).id,
- :tag_list => 'tag1 tag2',
+ :tag_list => 'tag1, tag2',
:album_id => '1'
photo = Photo.find(assigns(:photo).id)
assert_equal users(:quentin), photo.user
@@ -44,7 +44,7 @@ def test_should_not_be_an_activity
post :create,
:photo => { :uploaded_data => fixture_file_upload('files/library.jpg', 'image/jpg') },
:user_id => users(:quentin).id,
- :tag_list => 'tag1 tag2',
+ :tag_list => 'tag1, tag2',
:album_id => '1'
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.