Sha256: 18e16726f281e873b1c4fea105fb160b40fdf3eb649b1c7ed70ee5ae5718b64a
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class UsersControllerTest < ActionController::TestCase context 'GET to index with sort and order params' do setup do 2.times { |each| Factory :user } end should_sort_by :name should_sort_by :email # Hash syntax should_sort_by :age end end
Version data entries
3 entries across 3 versions & 2 rubygems