Issue #3994 has been updated by Nick Lewis.
Pushed to master in: commit:"51b70c05167399eb2274fc1add18b6b18d31429d" commit:"9a94ee274c39c261cd49e688a7bd7ea0eb73af50" commit:"fdc8c3509b5ac5bc170c54d72b2c2bafb58409f2" ---------------------------------------- Refactor #3994: Rename specs to have _spec.rb at the end http://projects.puppetlabs.com/issues/3994 Author: Matt Robinson Status: Ready for Testing Priority: Low Assigned to: Matt Robinson Category: testing Target version: 2.6 Affected version: 0.25.5 Branch: http://github.com/mmrobins/puppet/tree/bug/master/3994-rename_spec_files I'd like to rename the spec files to have _spec.rb at the end. Most projects I've seen do this and I never really thought why, but I ran into a case today where the naming of the spec file messes up the spec run if you're in the same directory as the spec. in a puppet checkout: cd spec/unit/indirector spec rest.rb # spec/../lib/puppet/rails/param_value.rb:3: uninitialized constant ActiveRecord::Base (NameError) This is happening because there's a file in the same directory called active_record.rb (which is a spec for lib/puppet/indirector/rest.rb) that ends up being loaded instead of Rail's active_record. -- 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.
