Sha256: 0ce5937e46171c769d67913b691054ea5a87b1a6e51d5b57562d40ad0fb4f2c2

Contents?: true

Size: 597 Bytes

Versions: 4

Compression:

Stored size: 597 Bytes

Contents

Feature: Configure katapult

  Background:
    Given a pristine Rails application
    And I install katapult
    And I generate katapult basics


  Scenario: Custom model template
    When I overwrite "lib/katapult/application_model.rb" with:
      """
      model 'Car'
      """
    And a file named "lib/templates/katapult/model/model.rb" with:
      """
      # custom model template for <%= class_name %>

      """
    And I successfully transform the application model
    Then the file "app/models/car.rb" should contain exactly:
      """
      # custom model template for Car

      """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katapult-0.2.0 features/configuration.feature
katapult-0.1.2 features/configuration.feature
katapult-0.1.1 features/configuration.feature
katapult-0.1.0 features/configuration.feature