Sha256: da2389cb00b0f54d7fef192a3d330b67ec9f12fb0d61c6b346416ec934f74318
Contents?: true
Size: 1.01 KB
Versions: 6
Compression:
Stored size: 1.01 KB
Contents
Feature: As a developer In order to use Mercury I should be able to use a generator to install configuration and overrides into my application Scenario: I can install the Mercury configuration file Given I have created a new rails application When I run `bundle exec rails generate mercury:install --trace` interactively And I type "N" Then the following files should exist: | app/assets/javascripts/mercury.js | And the file "config/routes.rb" should contain "mount Mercury::Engine => '/'" Scenario: I can install the configuration file and overrides Given I have created a new rails application When I successfully run `bundle exec rails generate mercury:install --full --trace` Then the following files should exist: | app/assets/javascripts/mercury.js | | app/assets/stylesheets/mercury.css | | app/views/layouts/mercury.html.erb | And the file "config/routes.rb" should contain "mount Mercury::Engine => '/'"
Version data entries
6 entries across 6 versions & 2 rubygems