Issue #9904 has been updated by Ken Barber. Status changed from Accepted to In Topic Branch Pending Review Branch set to https://github.com/kbarber/facter/tree/ticket/9904-windows_rspec_warning
Submitted github pull request: [https://github.com/puppetlabs/facter/pull/78](https://github.com/puppetlabs/facter/pull/78) ---------------------------------------- Bug #9904: Rspec warning for constant WINDOWS https://projects.puppetlabs.com/issues/9904 Author: Ken Barber Status: In Topic Branch Pending Review Priority: Low Assignee: Ken Barber Category: testing Target version: 1.6.x Keywords: rspec, windows Branch: https://github.com/kbarber/facter/tree/ticket/9904-windows_rspec_warning Affected Facter version: 1.6.2rc1 When running rake spec for facter you get the warnings: ./Users/ken/Development/facter/spec/unit/util/resolution_spec.rb:197: warning: already initialized constant WINDOWS ./Users/ken/Development/facter/spec/unit/util/resolution_spec.rb:216: warning: already initialized constant WINDOWS ./Users/ken/Development/facter/spec/unit/util/resolution_spec.rb:216: warning: already initialized constant WINDOWS This is due to what seems an old methodology for detecting windows not being changed in the rspec code. -- 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://projects.puppetlabs.com/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.
