summaryrefslogtreecommitdiffstats
path: root/spec/integration
Commit message (Collapse)AuthorAgeFilesLines
* Refactor #6044 -- use _spec.rb as the pattern for spec tests.Daniel Pittman2011-01-271-0/+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.
* Switching to a search path registration system.Luke Kanies2008-05-161-26/+0
| | | | | Facter no longer knows anything about Puppet, so there's no inter-dependency issue.
* Moving the puppet-related loading tests to an integration test.Luke Kanies2008-05-161-0/+26
| | | | | | | | | I was previously creating a mock Puppet class, and this actually uses Puppet's code. Note that this use of Puppet creates some additional ordering problems, which I'm going to fix in the next commit by undoing all of this work. :)
* Switching Facter to using the new loader.Luke Kanies2008-05-151-1/+0
| | | | | This should make it possible to move all facts to separate files and only load them on demand.
* Moving all of the support classes to util/.Luke Kanies2008-05-151-2/+7
| | | | | This makes it easier for our loader to distinguish between code that Facter uses and new facts.
* Moving Facter's container behaviour into a separate class.Luke Kanies2008-05-141-0/+23
There's now no @@facts instance variable; instead, there's a collection, and it's responsible for keeping references to all of the facts. All of the old interface methods just delegate to the collection.