Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
1ac410b590
1 changed files with 1 additions and 2 deletions
|
|
@ -30,9 +30,8 @@ describe SocketsController do
|
|||
end
|
||||
|
||||
it 'should actionhash photos' do
|
||||
pending "Figure out how to make the photo posting api work in specs, it needs a file type"
|
||||
@album = @user.post(:album, :name => "Loser faces", :to => @aspect.id)
|
||||
photo = @user.post(:photo, :album_id => @album.id, :user_file => [File.open(@fixture_name)])
|
||||
photo = @user.post(:photo, :album_id => @album.id, :user_file => File.open(@fixture_name))
|
||||
json = @controller.action_hash(@user.id, photo, :aspect_ids => @user.aspects_with_post(@album.id).map{|g| g.id})
|
||||
json.include?('photo').should be_true
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue