Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.732 kb
Feature: Collects data about a system
In order to understand the state of my system
As a Systems Administrator
I want to have a program that detects information for me
Scenario: Collect data about the system via a single plugin
Given a plugin called 'platform'
When I run ohai
Then I should have a 'platform' of 'kitties'
Scenario: Collect data about the system via a directory of plugins
Given a plugin directory at './plugins'
When I run ohai
Then I should have a 'platform' of 'kitties'
And I should have a 'foghorn' of 'leghorn'
Scenario: Collect data about the system via an external script
Given a plugin called 'perl'
When I run ohai
Then I should have a 'perl_major_version' of '5'
Jump to Line
Something went wrong with that request. Please try again.