Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (17 sloc) 0.732 kb
69a778d Adam Jacob Ohai lives - first meaningful commit
adamhjk authored
1 Feature: Collects data about a system
2 In order to understand the state of my system
3 As a Systems Administrator
4 I want to have a program that detects information for me
5
6 Scenario: Collect data about the system via a single plugin
7 Given a plugin called 'platform'
8 When I run ohai
9 Then I should have a 'platform' of 'kitties'
10
11 Scenario: Collect data about the system via a directory of plugins
12 Given a plugin directory at './plugins'
13 When I run ohai
14 Then I should have a 'platform' of 'kitties'
15 And I should have a 'foghorn' of 'leghorn'
16
17 Scenario: Collect data about the system via an external script
18 Given a plugin called 'perl'
19 When I run ohai
20 Then I should have a 'perl_major_version' of '5'
21
Something went wrong with that request. Please try again.