Sha256: 427c8c95f4854f150b417b741560fdf5b1a43fba36dfdaa2febebc0cd6a9254a
Contents?: true
Size: 323 Bytes
Versions: 3
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true require "test_helper" class NamespaceTest < Minitest::Test test "isolates namespace configuration" do ns = Aitch::Namespace.new ns.config.user_agent = "MyLib/1.0.0" assert_equal "MyLib/1.0.0", ns.config.user_agent assert_match %r[^Aitch], Aitch.config.user_agent end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aitch-1.0.2 | test/aitch/namespace_test.rb |
aitch-1.0.1 | test/aitch/namespace_test.rb |
aitch-1.0.0 | test/aitch/namespace_test.rb |