Sha256: b5a691409f4c1b4e106dd34708a9d36bbaac0761b1c7817cc7de069d938e15cd

Contents?: true

Size: 673 Bytes

Versions: 5

Compression:

Stored size: 673 Bytes

Contents

// Generated by LiveScript 1.2.0
(function(){
  var renderComponent;
  renderComponent = React.renderComponent;
  describe('AuditEntry', function(_){
    return it('shows both role and resource on role checks', function(){
      var role, resource, table, x$;
      role = 'the-role';
      resource = 'the-resource';
      renderComponent(AuditEntry({
        kind: 'role',
        action: 'check',
        role: "acct:rolkind:" + role,
        resource: "acct:reskind:" + resource
      }), table = document.createElement('table'));
      x$ = expect(table.innerText);
      x$.toContain(role);
      x$.toContain(resource);
      return x$;
    });
  });
}).call(this);

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
conjur-asset-ui-1.4.2 spec/javascripts/views/AuditSpec.js
conjur-asset-ui-1.3.2 spec/javascripts/views/AuditSpec.js
conjur-asset-ui-1.3.1 spec/javascripts/views/AuditSpec.js
conjur-asset-ui-1.3.0 spec/javascripts/views/AuditSpec.js
conjur-asset-ui-api-1.2.0 spec/javascripts/views/AuditSpec.js