Sha256: 61877cb1261a34db6963cd7e2ab78751db534d504853a3890790a19353112110

Contents?: true

Size: 846 Bytes

Versions: 4

Compression:

Stored size: 846 Bytes

Contents

@theming
Feature: Theme generation
  In order to create my own theme
  As a refinery user
  I want to generate a basic theme directory structure

  @theming-generate
  Scenario: Generating a theme with a name
    Given I have a refinery application
    When I generate a theme with the name "modern"
    Then I should have a directory "themes/modern"
    And I should have a file "themes/modern/stylesheets/application.css"
    And I should have a file "themes/modern/stylesheets/home.css"
    And I should have a file "themes/modern/stylesheets/formatting.css"
    And I should have a file "themes/modern/views/layouts/application.html.erb"
    And I should have a file "themes/modern/views/pages/home.html.erb"
    And I should have a file "themes/modern/views/pages/show.html.erb"
    And I should have a directory "themes/modern/javascripts"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-theming-1.0.1 features/theme_generator.feature
refinerycms-theming-1.0.0 features/theme_generator.feature
refinerycms-theming-0.9.9.2 features/theme_generator.feature
refinerycms-theming-0.9.9.1 features/theme_generator.feature