Skip to content

Commit

Permalink
Updated tests file
Browse files Browse the repository at this point in the history
  • Loading branch information
laf committed Oct 9, 2024
1 parent 6da869a commit 10b2463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/source/http_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require_relative '../spec_helper'
require 'oxidized/source/http'

describe Oxidized::HTTP do
describe Oxidized::Source::HTTP do
before(:each) do
Oxidized.asetus = Asetus.new
Oxidized.setup_logger
Expand Down Expand Up @@ -58,8 +58,8 @@
h1["inventory"] = [{ "ip" => "10.10.10.10" }]
h1["jotain"] = { "2" => "jotain" }
it "should be able to navigate multilevel-hash" do
http = Oxidized::HTTP.new
_(http.class).must_equal Oxidized::HTTP
http = Oxidized::Source::HTTP.new
_(http.class).must_equal Oxidized::Source::HTTP
_(http.send(:string_navigate_object, h1, "jotain.2")).must_equal "jotain"
end
it "should be able to navigate multilevel-hash" do
Expand Down

0 comments on commit 10b2463

Please sign in to comment.