Pending spec for statusnet linkback plugin

This commit is contained in:
Raphael Sofaer 2011-08-12 10:37:24 -07:00
parent 3c34749dd7
commit cd640e1ac6

View file

@ -30,6 +30,7 @@ describe PostsController do
response.should be_success
end
it 'succeeds on mobile with a reshare' do
get :show, "id" => Factory(:reshare, :author => alice.person).id, :format => :mobile
response.should be_success
@ -60,6 +61,14 @@ describe PostsController do
response.status.should == 200
end
it 'succeeds for statusnet' do
pending "StatusNet send a weird ACCEPT header"
status = alice.post(:status_message, :text => "hello", :public => true, :to => 'all')
@request.env["HTTP_ACCEPT"] = "application/html+xml,text/html"
get :show, :id => status.id
response.should be_success
end
it 'shows a public photo' do
pending
status = Factory(:status_message_with_photo, :public => true, :author => alice.person)