Sha256: 30b6d8fe1472a8d8cbfd186889ed401ab3d6cbbcb6f0eba732834c8a52a082df

Contents?: true

Size: 314 Bytes

Versions: 4

Compression:

Stored size: 314 Bytes

Contents

require 'test_helper'

class ControllerTest < ActionController::TestCase
  def setup
    @controller = HomeController.new
  end

  test "included in ActionController" do
    assert @controller.class.respond_to?:sort_with
  end

  test "GET index" do
    get 'index'
    assert_equal 200, response.status
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
collection_sorter-0.0.4 test/controller_test.rb
collection_sorter-0.0.3 test/controller_test.rb
collection_sorter-0.0.2 test/controller_test.rb
collection_sorter-0.0.1 test/controller_test.rb