Project

General

Profile

Download (302 Bytes) Statistics
| Branch: | Tag: | Revision:
require 'test_helper'

class Api::V2::DashboardControllerTest < ActionController::TestCase

test "should get index with json result" do
get :index, { }
assert_response :success
dashboard = ActiveSupport::JSON.decode(@response.body)
assert_operator(dashboard.length, :>, 0)
end

end
(8-8/39)