fix for mobile multi stream [ci skip]

This commit is contained in:
Maxwell Salzberg 2012-01-07 23:28:25 -08:00
parent d38e75c1f5
commit 232c4b7931
2 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class MultisController < ApplicationController
respond_with do |format|
format.html{ default_stream_action(stream_klass) }
format.mobile{ default_stream_action(stream_klass) }
format.json{ stream_json(stream_klass) }
end
end

View file

@ -26,5 +26,10 @@ describe MultisController do
get :index
response.should be_success
end
it 'succeeds on mobile' do
get :index, :format => :mobile
response.should be_success
end
end
end