# FIXME Commented out test! Convert! # # require File.dirname(__FILE__) + '/../spec_helper' # # describe UserCell do # it "renders" do # site = mock('site', :id => 1) # section = mock('section', :id => 1, :track_method_calls => nil) # TODO: use real object? # controller = mock('controller', :perform_caching => false, :site => site, :section => section) # cell = UserCell.new(controller, nil) # cell.render_state(:recent).should =~ /recent users/i # end # end