Issue #1514 has been updated by luke.

Status changed from Code Insufficient to Closed

Fixed in commit:"4f275b6".

I couldn't find the mentioned branch in pnasrat's repo, so I just recreated it 
real quick.
----------------------------------------
Bug #1514: Failing unit test - spec/unit/network/formats.rb
http://reductivelabs.com/redmine/issues/show/1514

Author: pnasrat
Status: Closed
Priority: Normal
Assigned to: pnasrat
Category: testing
Target version: 
Complexity: Unknown
Affected version: 
Keywords: 


Failing test on HEAD

ruby spec/unit/network/formats.rb 
..............FFFFFF

1)
NoMethodError in 'Puppet Network Format plaintext should have its mimetype set 
to text/plain'
undefined method `mime' for nil:NilClass
spec/unit/network/formats.rb:99:
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in
 `run'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
spec/unit/network/formats.rb:7:

2)
'Puppet Network Format plaintext should fail if the instance does not respond 
to 'to_str'' FAILED
expected NotImplementedError, got #<NoMethodError: undefined method `render' 
for nil:NilClass>
spec/unit/network/formats.rb:105:
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in
 `run'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
spec/unit/network/formats.rb:7:

3)
NoMethodError in 'Puppet Network Format plaintext should render by calling 
'to_str' on the instance'
undefined method `render' for nil:NilClass
spec/unit/network/formats.rb:112:
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in
 `run'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
spec/unit/network/formats.rb:7:

4)
NoMethodError in 'Puppet Network Format plaintext should render multiple 
instances by calling 'to_str' on each instance and joining the results with 
'\n---\n''
undefined method `render_multiple' for nil:NilClass
spec/unit/network/formats.rb:118:
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in
 `run'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
spec/unit/network/formats.rb:7:

5)
NoMethodError in 'Puppet Network Format plaintext should intern by calling 
'from_str' on the class'
undefined method `intern' for nil:NilClass
spec/unit/network/formats.rb:124:
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in
 `run'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
spec/unit/network/formats.rb:7:

6)
NoMethodError in 'Puppet Network Format plaintext should intern multiples by 
splitting on '\n---\n' and converting each string to an instance'
undefined method `intern_multiple' for nil:NilClass
spec/unit/network/formats.rb:131:
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:19:in
 `run'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `each'
/Users/pnasrat/Development/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
 `run'
spec/unit/network/formats.rb:7:

Finished in 0.029483 seconds



----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to