Sha256: 60cc88c394fef4064d7e2b2e8f4d44c4e3b38e9b569dfbc57fc17164f03d6056
Contents?: true
Size: 1.09 KB
Versions: 20
Compression:
Stored size: 1.09 KB
Contents
Feature: Renamed Resource Strong attributes for resources renamed with as: 'NewName' Background: Given a category named "Music" exists Given a user named "John Doe" exists And I am logged in Given a configuration of: """ ActiveAdmin.register Blog::Post, as: 'Post' do if Rails::VERSION::MAJOR == 4 permit_params :custom_category_id, :author_id, :title, :body, :position, :published_at, :starred end end """ When I am on the index page for posts Scenario: Default form with no config Given I follow "New Post" When 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
20 entries across 20 versions & 3 rubygems