Project

General

Profile

Bug #8044

uninitialized constant Nic::Interface (NameError) when running spork

Added by Joseph Magen over 4 years ago. Updated 11 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

[foreman (develop)]$ spork
Using MiniTest
Preloading Rails environment
Loading Spork.prefork block...
uninitialized constant Nic::Interface (NameError)
/home/jmagen/foreman/app/models/nic/managed.rb:2:in `<module:Nic>'
/home/jmagen/foreman/app/models/nic/managed.rb:1:in `<top (required)>'
/home/jmagen/foreman/app/models/nic/base.rb:87:in `<module:Nic>'
/home/jmagen/foreman/app/models/nic/base.rb:3:in `<top (required)>'
/home/jmagen/foreman/app/models/nic/interface.rb:2:in `<module:Nic>'
/home/jmagen/foreman/app/models/nic/interface.rb:1:in `<top (required)>'
/home/jmagen/foreman/test/factories/host_related.rb:196:in `block in <top (required)>'
/home/jmagen/.rvm/gems/ruby-1.9.3-p547@r32gems/gems/factory_girl-2.6.4/lib/factory_girl/syntax/default.rb:16:in `instance_eval'
/home/jmagen/.rvm/gems/ruby-1.9.3-p547@r32gems/gems/factory_girl-2.6.4/lib/factory_girl/syntax/default.rb:16:in `run'
/home/jmagen/.rvm/gems/ruby-1.9.3-p547@r32gems/gems/factory_girl-2.6.4/lib/factory_girl/syntax/default.rb:7:in `define'
/home/jmagen/foreman/test/factories/host_related.rb:1:in `<top (required)>'


Related issues

Related to Foreman - Bug #8005: Another autoloading o NIC models issueClosed2014-10-21

History

#1 Updated by Marek Hulán over 4 years ago

  • Related to Bug #8005: Another autoloading o NIC models issue added

#2 Updated by Marek Hulán over 4 years ago

  • Status changed from Assigned to Duplicate

I think this is already being fixed. Please reopen if you think it's a new issue.

#3 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

Also available in: Atom PDF