Project

General

Profile

Actions

Bug #8044

closed

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

Added by Joseph Magen about 10 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Tests
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Foreman - Bug #8005: Another autoloading o NIC models issueClosedTomáš Strachota10/21/2014Actions
Actions

Also available in: Atom PDF