spec_rails/rails2/features/status_page.feature in diagnostics-0.0.2 vs spec_rails/rails2/features/status_page.feature in diagnostics-0.0.3
- old
+ new
@@ -9,35 +9,35 @@
Scenario: View the status page
When I go to the status page
Then I should be on the status page
Scenario: A simple passing diagnostic check
- Given a diagnostic check named "mysql" with the following statuses:
+ Given a diagnostic check named "MySQLCheck" with the following statuses:
| passed | warning | failed |
| true | false | false |
When I go to the status page
- Then I should see a passed diagnostic check named "mysql"
+ Then I should see a passed diagnostic check named "MySQLCheck"
And should see "All Systems Operational" as the title
Scenario: Diagnostic checks that contain one warning check
- Given a diagnostic check named "mysql" with the following statuses:
+ Given a diagnostic check named "MySQLCheck" with the following statuses:
| passed | warning | failed |
| true | false | false |
- Given a diagnostic check named "postgresql" with the following statuses:
+ Given a diagnostic check named "PostgreSQLCheck" with the following statuses:
| passed | warning | failed |
| false | true | false |
When I go to the status page
- Then I should see a passed diagnostic check named "mysql"
- And should see a warning diagnostic check named "postgresql"
+ Then I should see a passed diagnostic check named "MySQLCheck"
+ And should see a warning diagnostic check named "PostgreSQLCheck"
And should see "Experiencing Issues" as the title
Scenario: Diagnostic checks that contain one failing check
- Given a diagnostic check named "mysql" with the following statuses:
+ Given a diagnostic check named "MySQLCheck" with the following statuses:
| passed | warning | failed |
| true | false | false |
- Given a diagnostic check named "postgresql" with the following statuses:
+ Given a diagnostic check named "PostgreSQLCheck" with the following statuses:
| passed | warning | failed |
| false | false | true |
When I go to the status page
- Then I should see a passed diagnostic check named "mysql"
- And should see a failed diagnostic check named "postgresql"
+ Then I should see a passed diagnostic check named "MySQLCheck"
+ And should see a failed diagnostic check named "PostgreSQLCheck"
And should see "System Failure" as the title
\ No newline at end of file