3 class Arvados::V1::LogsControllerTest < ActionController::TestCase
4 test "non-admins can read their own logs" do
6 post :create, log: {summary: "test log"}
7 assert_response :success
8 uuid = JSON.parse(@response.body)['uuid']
11 assert_response(:success, "failed to load created log")
12 assert_equal("test log", assigns(:object).summary,
13 "loaded wrong log after creation")