forked from lapluviosilla/prologue
-
Notifications
You must be signed in to change notification settings - Fork 1
/
new.feature
40 lines (35 loc) · 1.85 KB
/
new.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@disable-bundler
Feature: Generate new prologue app
In order to start a new project with prologue
As a CLI
I want to generate a rails3 app with prologue
Scenario: Run prologue new my_app
When I run "prologue new my_app"
Then the output should contain "Building authentication"
And the output should contain "Building roles"
And the output should contain "Building admin"
And the output should contain "Prologue just added like 6 hours to your life."
Scenario: Run prologue new my_app --no-auth
When I run "prologue new my_app --no-auth"
Then the output should not contain "Building authentication"
And the output should not contain "Building roles"
And the output should not contain "Building admin"
And the output should contain "Prologue just added like 6 hours to your life."
Scenario: Run prologue new my_app --no-roles
When I run "prologue new my_app --no-roles"
Then the output should contain "Building authentication"
And the output should not contain "Building roles"
And the output should contain "Building admin"
And the output should contain "Prologue just added like 6 hours to your life."
Scenario: Run prologue new my_app --no-admin
When I run "prologue new my_app --no-admin"
Then the output should contain "Building authentication"
And the output should contain "Building roles"
And the output should not contain "Building admin"
And the output should contain "Prologue just added like 6 hours to your life."
Scenario: Run prologue new my_app --no-admin --no-roles
When I run "prologue new my_app --no-admin --no-roles"
Then the output should contain "Building authentication"
And the output should not contain "Building roles"
And the output should not contain "Building admin"
And the output should contain "Prologue just added like 6 hours to your life."