Sha256: 75b5efa97c71a7ef2e957514aa74fbe7a318ca2926ac39d31a187216aac86f63

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

Feature: Specifying Actions

  Specifying which actions to allow on my resource

  @allow-rescue  
  Scenario: Only creating the index action
    Given a configuration of:
      """
        ActiveAdmin.register Post do
          actions :index
        end
      """
	And I am logged in
    And a post with the title "Hello World" exists
    When I am on the index page for posts
    Then an "AbstractController::ActionNotFound" exception should be raised when I follow "View"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin-0.2.2 features/specifying_actions.feature
activeadmin-0.2.1 features/specifying_actions.feature
activeadmin-0.2.0 features/specifying_actions.feature