Sha256: 02d5c066591c8af633cfcbcae4d4b8079580857f91c0e23127eb32477f93cf3a
Contents?: true
Size: 280 Bytes
Versions: 5
Compression:
Stored size: 280 Bytes
Contents
require 'test_helper' class FactsControllerTest < ActionController::TestCase def test_index_json get :index, {:format => "json"}, set_session_user facts = ActiveSupport::JSON.decode(@response.body) assert facts.is_a?(Array) assert_response :success end end
Version data entries
5 entries across 5 versions & 1 rubygems