Sha256: 54a50cacd3e36bff3f5d2b33a1559faec8f6d083fb8daf9b59a208daea7d907b

Contents?: true

Size: 533 Bytes

Versions: 4

Compression:

Stored size: 533 Bytes

Contents

@blog
Feature: Blog Post Authors
  Blog posts can be assigned authors through the given user model
  current_user is assumed through admin screens
  
  Scenario: Saving a blog post in blog_posts#new associates the current_user as the author
    Given I am a logged in refinery user
    
    When I am on the new blog post form
    And I fill in "Title" with "This is my blog post"
    And I fill in "Body" with "And I love it"
    And I press "Save"
    
    Then there should be 1 blog post
    And the blog post should belong to me

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-blog-1.3.2 features/authors.feature
refinerycms-blog-1.3.1 features/authors.feature
refinerycms-blog-1.3 features/authors.feature
refinerycms-blog-1.2 features/authors.feature