Sha256: f9b63819ab11afce8528f56eed53378abb9eef6cbed8e9303d4fe9c87f57d723
Contents?: true
Size: 864 Bytes
Versions: 1
Compression:
Stored size: 864 Bytes
Contents
Feature: The theme object As a designer I want to include attributes from my theme in template So that it still contains copyright details when distributed Background: Given I am using this theme | name | Theme Test | | copyright | Jon Wood, 2011 | | author | Jon Wood | And this content item exists at "/theme_attribute" | template | theme_example | Scenario: A defined theme attribute Given this template exists at "theme_example.nou.html" """ <h1>{{ theme.name }}</h1> """ When I view "/theme_attribute" Then the headline should be "Theme Test" Scenario: An undefined theme attribute Given this template exists at "theme_example.nou.html" """ <h1>{{ theme.bob }}</h1> """ When I view "/theme_attribute" Then the headline should be ""
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noumenon-0.2.3 | features/template_tags/theme_attribute.feature |