diff options
| author | Luke Kanies <luke@madstop.com> | 2008-02-29 12:56:02 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-02-29 12:56:02 -0600 |
| commit | e008b02ae04594bd53a9aa29c24961a7d9d9763d (patch) | |
| tree | b02092009173c2ef1933a9b8e1c1149c3af40829 /spec/unit/other/transaction.rb | |
| parent | 65b72676aef2d58314f546eb31780d1b9925b9b3 (diff) | |
| download | puppet-e008b02ae04594bd53a9aa29c24961a7d9d9763d.tar.gz puppet-e008b02ae04594bd53a9aa29c24961a7d9d9763d.tar.xz puppet-e008b02ae04594bd53a9aa29c24961a7d9d9763d.zip | |
Fixing #1110 -- transactions now always make sure
their tags are arrays.
Diffstat (limited to 'spec/unit/other/transaction.rb')
| -rwxr-xr-x | spec/unit/other/transaction.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/other/transaction.rb b/spec/unit/other/transaction.rb index e277a24c0..0db470d26 100755 --- a/spec/unit/other/transaction.rb +++ b/spec/unit/other/transaction.rb @@ -25,4 +25,9 @@ describe Puppet::Transaction, " when determining tags" do @transaction.tags = %w{one two} @transaction.tags.should == %w{one two} end + + it "should always convert assigned tags to an array" do + @transaction.tags = "one::two" + @transaction.tags.should == %w{one::two} + end end |
