spec/requests/api/builds_spec.rb [67:74]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        project.variables << Variable.new(key: "SECRET_KEY", value: "secret_value")

        post api("/builds/register"), token: runner.token, info: {platform: :darwin}

        expect(response.status).to eq 201
        expect(json_response["variables"]).to eq [
          {"key" => "DB_NAME", "value" => "postgres", "public" => true},
          {"key" => "SECRET_KEY", "value" => "secret_value", "public" => false},
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/requests/api/builds_spec.rb [84:91]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        project.variables << Variable.new(key: "SECRET_KEY", value: "secret_value")

        post api("/builds/register"), token: runner.token, info: {platform: :darwin}

        expect(response.status).to eq 201
        expect(json_response["variables"]).to eq [
          {"key" => "DB_NAME", "value" => "postgres", "public" => true},
          {"key" => "SECRET_KEY", "value" => "secret_value", "public" => false},
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



