Skip to content

Commit

Permalink
(maint) Allow spec tests to be run on Windows
Browse files Browse the repository at this point in the history
Previously the spec tests could not be run on Windows due to an errant stub
which always enforce unix path separators.  This commit removes the stub as
it is not required.
  • Loading branch information
glennsarti committed Mar 26, 2018
1 parent 431fa7d commit e964a05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/facterdb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
describe 'database' do

before(:each) do
stub_const("File::PATH_SEPARATOR", ":")
ENV['FACTERDB_SKIP_DEFAULTDB'] = nil
FacterDB.instance_variable_set(:@database, nil)
end
Expand Down

0 comments on commit e964a05

Please sign in to comment.