summaryrefslogtreecommitdiffstats
path: root/spec/unit/resource/reference.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixing all of the test/ tests I broke in previous dev.Luke Kanies2008-12-181-0/+8
| | | | | | | | | Most of these are straightforward changes to the tests, but a couple required small refactorings (e.g., References can now be created with Puppet::Type instances, and they know how to extract the type/title from them). Signed-off-by: Luke Kanies <luke@madstop.com>
* Simplifying the initialization interface for ReferencesLuke Kanies2008-12-181-0/+10
| | | | | | | | | You previously had to call new(nil, "Foo[bar]") if you just had the resource reference as a string. Now you can call new("Foo[bar]"), but the old behaviour works, too. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding equality testing to Puppet::Resource::ReferenceLuke Kanies2008-12-181-0/+16
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Renaming Puppet::ResourceReference to Puppet::Resource::ReferenceLuke Kanies2008-12-091-0/+77
Signed-off-by: Luke Kanies <luke@madstop.com>