Sha256: 2c4fb97c14d7fc1feab4f1d5fb25786c491d4888afd4546a7a3d6f36279c69b7

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

Feature: Filter Attributes

  Filtering sensitive attributes

  Background:
    Given a configuration of:
    """
      ActiveAdmin.register User
    """
    And I am logged in
    And a user named "John Doe" exists
    And I am on the index page for users

  Scenario: Default index page
    Then I should not see "Encrypted"
    But I should see "Age"

  Scenario: Default new form
    Given I follow "New User"
    Then I should not see "Encrypted"
    But I should see "Age"

  Scenario: Default edit form
    Given I follow "Edit"
    Then I should not see "Encrypted"
    But I should see "Age"

  Scenario: Default show page
    Given I follow "View"
    Then I should not see "Encrypted"
    But I should see "Age"

  Scenario: Default CSV export
    Given I follow "CSV"
    Then I should not see "Encrypted"
    But I should see "Age"

  # TODO: JSON
  # Scenario: Default JSON
  #   Given I follow "JSON"
  #   Then I should not see "encrypted"
  #   But I should see "age"

  Scenario: Default XML
    Given I follow "XML"
    Then I should not see "encrypted"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-rails-1.7.1 features/filter_attributes.feature
activeadmin-rails-1.7.0 features/filter_attributes.feature