Skip to content

Commit

Permalink
Require atoms in helper
Browse files Browse the repository at this point in the history
No point requiring it in each model test
  • Loading branch information
ytti committed Dec 24, 2024
1 parent 2f955d5 commit 5c857e9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion spec/model/arubainstant_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require_relative 'model_helper'
require_relative 'atoms'

describe 'model/ArubaInstant' do
before { init_model_helper }
Expand Down
1 change: 0 additions & 1 deletion spec/model/ios_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require_relative 'model_helper'
require_relative 'atoms'

describe 'model/IOS' do
before { init_model_helper }
Expand Down
1 change: 0 additions & 1 deletion spec/model/model_atoms_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require_relative 'model_helper'
require_relative 'atoms'

describe 'ATOMS tests' do
ATOMS.get.each do |test|
Expand Down
1 change: 1 addition & 0 deletions spec/model/model_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require_relative '../spec_helper'
require_relative 'atoms'
require 'yaml'

def init_model_helper
Expand Down
1 change: 0 additions & 1 deletion spec/model/model_helper_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require_relative 'model_helper'
require_relative 'atoms'

# This class is used to test the developpent of model_helper.rb
# it uses the Garderos model, as model_helper.rb was deveopped with it
Expand Down

0 comments on commit 5c857e9

Please sign in to comment.