Sha256: a149777cfaff7f6d5e8c248de04462d284223399a4dd4910ec5cae0c0eb36a69

Contents?: true

Size: 779 Bytes

Versions: 4

Compression:

Stored size: 779 Bytes

Contents

Feature: Generators
  In order to run ReleaseNotes properly
  Generators must run properly

  Background:
    Given a Rails app named "hello_world" exists
    And this gem "release_notes" is installed in the app


  Scenario: Generate ReleaseNotes initializer
    Given I am in "tmp/hello_world"
    When I run `rails generate release_notes:install`
    Then the file "config/initializers/release_notes.rb" should exist
   
   
  Scenario: Generate ReleaseNote migration
    Given I am in "tmp/hello_world"
    When I run `rails generate release_notes ReleaseNote`
    Then a file matching %r<[0-9]*_release_notes_create_release_notes.rb$> should exist
    And the file "config/routes.rb" should contain "mount ReleaseNotes::Engine, at: '/release_notes', :as => 'release_notes'"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
release_notes-1.0.4 features/generator.feature
release_notes-1.0.3 features/generator.feature
release_notes-1.0.1 features/generator.feature
release_notes-1.0.0 features/generator.feature