Sha256: c0fd1ce5bae27a02ba9a336c9c151dc89b7d019c15b5370725dacb10a478979b
Contents?: true
Size: 443 Bytes
Versions: 2
Compression:
Stored size: 443 Bytes
Contents
require 'test_helper' module Regaliator class EndpointTest < Minitest::Test def setup @config = Configuration.new.tap do |config| config.host = 'https://api.regalii.dev' config.api_key = 'api_key' config.secret_key = 'secret_key' end end def test_constructor_accepts_a_configuration subject = Endpoint.new(@config) assert_same @config, subject.config end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
regaliator-4.0.1 | test/regaliator/endpoint_test.rb |
regaliator-4.0.0 | test/regaliator/endpoint_test.rb |