Sha256: 719258f42125d23d29dc3254091f1ec2dc43e7ca6ff9eb19116c63fc897fd5ac
Contents?: true
Size: 563 Bytes
Versions: 2
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true require 'minitest/autorun' require 'vacuum/locale' require 'vacuum/operation' module Vacuum class TestOperation < Minitest::Test def setup @operation = Operation.new('Action', params: { foo: 1 }, locale: locale) end def test_body assert @operation.body end def test_url assert @operation.url end def test_headers assert @operation.headers end private def locale Locale.new(:us, access_key: '123', secret_key: '123', partner_tag: 'xyz') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vacuum-3.2.0 | test/vacuum/test_operation.rb |
vacuum-3.1.0 | test/vacuum/test_operation.rb |