Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Commit

Permalink
Merge 7e0d534 into 2c7eccd
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanIrimie committed Aug 6, 2019
2 parents 2c7eccd + 7e0d534 commit ba028c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

describe '.load facts for OS' do
RSpec.describe '.load facts for OS' do
it 'load one fact' do
allow_any_instance_of(Module).to receive(:constants).and_return([:NetworkInterface])
fact_hash = Facter::FactLoader.load(:linux)
Expand Down
7 changes: 6 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
require 'bundler/setup'
require_relative '../lib/fact_loader'
require_relative '../lib/facts/linux/network_interface'
require_relative 'facter/fact_loader_test'

SimpleCov.start do
track_files 'lib/**/*.rb'
end

SimpleCov.minimum_coverage 90

RSpec.configure do |config|
# Enable flags like --only-failures and --next-failure
Expand Down

0 comments on commit ba028c9

Please sign in to comment.