File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ def index
4444
4545 # GET /skins/1
4646 def show
47+ @page_subtitle = @skin . title . html_safe
4748 end
4849
4950 # GET /skins/new
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ Feature: Non-public site and work skins
33
44 Scenario : A user should be able to create a skin with CSS
55 Given I am logged in as "skinner"
6+ And the app name is "Example Archive"
67 When I am on the new skin page
7- And I fill in "Title" with "my blinking skin"
8+ And I fill in "Title" with "my blinking & skin"
89 And I fill in "CSS" with "#title { text-decoration: blink;}"
910 And I submit
1011 Then I should see "Skin was successfully created"
11- And I should see "my blinking skin skin by skinner"
12+ And I should see "my blinking & skin skin by skinner"
1213 And I should see "text-decoration: blink;"
1314 And I should see "(No Description Provided)"
1415 And I should see "by skinner"
@@ -18,6 +19,7 @@ Feature: Non-public site and work skins
1819 And I should not see "Stop Using"
1920 And I should not see "(Approved)"
2021 And I should not see "(Not yet reviewed)"
22+ And I should see the page title "my blinking & skin | Example Archive"
2123
2224 Scenario : A logged-out user should not be able to create skins.
2325 Given I am a visitor
You can’t perform that action at this time.
0 commit comments