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 #1

Updated by Marek Hulán about 10 years ago

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

Updated by Marek Hulán about 10 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.

Actions #3

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF