Sha256: b2230a2ab8d1b1218ca64be3c221dc6f900b4bc375f14134eeae8904efed4b7b
Contents?: true
Size: 949 Bytes
Versions: 3
Compression:
Stored size: 949 Bytes
Contents
@requires-reloading Feature: Development Reloading In order to quickly develop applications As a developer I want the application to reload itself in development Scenario: Registering a resource that was not previously registered When I am logged in with capybara Then I should not see a menu item for "Posts" When "app/admin/posts.rb" contains: """ ActiveAdmin.register Post do permit_params :custom_category_id, :author_id, :title, :body, :position, :published_date, :starred end """ And I am logged in with capybara Then I should see a menu item for "Posts" When I create a new post with the title "A" Then I should see a successful create flash When I add "validates_presence_of :title" to the "post" model And I create a new post with the title "" Then I should not see a successful create flash And I should see a validation error "can't be blank"
Version data entries
3 entries across 3 versions & 1 rubygems