Logo: Relish

  1. Sign in

Project: relish

Update publisher settings

Background
Given
I am signed in
Scenarios
Change publisher handle
Given
I have created a publisher "rspec"
When
I visit the page for the publisher
And
I change the handle of the publisher to "amazing" via the settings form
Then
the publisher's handle should now be "amazing"
And
I should be viewing the page for the publisher
Change settings whilst viewing a topic
Given
I have created a publisher
And
the publisher has a topic
When
I visit the page for the topic
And
I change the handle of the publisher to "amazing" via the settings form
Then
the publisher's handle should now be "amazing"
And
I should be viewing the page for the topic
Make a mistake
Given
I have created a publisher
When
I visit the page for the publisher
And
I change the handle of the publisher to "no spaces allowed" via the settings form
Then
the publisher settings form should be redisplayed
And
I should see an error message
Add homepage content
Given
I have created a publisher
When
I visit the page for the publisher
And
I change the homepage content via the setings form to:
This is the **homepage** for my company's Cucumber features.
And
I should be viewing the page for the publisher
Then
I should see the text "homepage" in bold

Last published almost 4 years ago by mattwynne.