Sha256: ebeba4c85cb9649b6969ac04f33d4e659d86c692c3a1dd0505ca2fd46d2e9dc4
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
Feature: Renamed Resource Strong attributes for resources renamed with as: 'NewName' Scenario: Default form with no config Given a category named "Music" exists And a user named "John Doe" exists And I am logged in And a configuration of: """ ActiveAdmin.register Blog::Post, as: 'Post' do permit_params :custom_category_id, :author_id, :title, :body, :position, :published_date, :starred end """ When I am on the index page for posts And I follow "New Post" And I fill in "Title" with "Hello World" And I fill in "Body" with "This is the body" And I select "Music" from "Category" And I select "John Doe" from "Author" And I press "Create Post" Then I should see "Post was successfully created." And I should see the attribute "Title" with "Hello World" And I should see the attribute "Body" with "This is the body" #And I should see the attribute "Category" with "Music" And I should see the attribute "Author" with "John Doe"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-rails-1.7.1 | features/renamed_resource.feature |
activeadmin-rails-1.7.0 | features/renamed_resource.feature |