summaryrefslogtreecommitdiffstats
path: root/spec/unit/operatingsystemrelease.rb
Commit message (Collapse)AuthorAgeFilesLines
* Refactor #6044 -- use _spec.rb as the pattern for spec tests.Daniel Pittman2011-01-271-39/+0
| | | | | | Rename all the spec tests to follow the rspec convention of *_spec.rb rather than unadorned *.rb; this also makes it easier to work with them consistently without using the Rakefile support that customizes that.
* Refactor #6044 -- require spec_helper with a consistent path.Daniel Pittman2011-01-271-1/+1
| | | | | | Because we pull in spec_helper in individual tests, we need to use a consistent path or Ruby will evaluate it multiple times. Make the path consistent by expanding it before require.
* Refactor #6044 -- port testing to rspec2Daniel Pittman2011-01-271-1/+1
| | | | We have moved to rspec2 for puppet, and facter should follow suit.
* [#4289] operatingsystemrelease fact for oel, ovsRein Henrichs2010-08-181-0/+39
When Facter returns operatingsystem as "oel" or "ovs", the operatingsystemrelease fact does not catch these properly, causing an error. Specs added to catch failure and case statement updated to catch "oel" and "ovs" as well as "OEL" and "OVS"