Sha256: 3df020232e9e042cc5d964320d6c42f863b2cd060e350cb81d78ee690d4c1805
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
Feature: Diagnostics page The diagnostics page lists the diagnostic checks and also the data for each check. Scenario: View the diagnostics page When I go to the diagnostics page Then I should be on the diagnostics page Scenario: A passing diagnostic check with data attributes Given a diagnostic check named "MySQLCheck" with the following statuses: | passed | warning | failed | | true | false | false | And diagnostic check "MySQLCheck" has the following data attributes: | a | b | c | | 1 | 2 | 3 | When I go to the diagnostics page Then I should see a passed diagnostic check named "MySQLCheck" And should see "a: 1" within diagnostic data And should see "b: 2" within diagnostic data And should see "c: 3" within diagnostic data And should see "All Systems Operational" as the title Scenario: A failed diagnostic check with a data list Given a diagnostic check named "MySQLCheck" with the following statuses: | passed | warning | failed | | false | false | true | And diagnostic check "MySQLCheck" has a data list: "a,b,c" When I go to the diagnostics page Then I should see a failed diagnostic check named "MySQLCheck" And should see "a" within diagnostic data And should see "b" within diagnostic data And should see "c" within diagnostic data And should see "System Failure" as the title
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
diagnostics-0.0.4 | spec_rails/rails2/features/diagnostics_page.feature |
diagnostics-0.0.3 | spec_rails/rails2/features/diagnostics_page.feature |