Sha256: 065b2773c5ddcaec01265a917420fbdae6f65e4db5cdd3810388a3b3ae1e213d
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
require 'test_helper' require 'razorpay' module Razorpay # Tests for Razorpay class RazorpayTest < Minitest::Test def setup Razorpay.setup('key_id', 'key_secret') end def test_razorpay_should_be_defined refute_nil Razorpay end def test_setup auth = { username: 'key_id', password: 'key_secret' } assert_equal auth, Razorpay.auth end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
razorpay-1.0.3 | test/razorpay/test_razorpay.rb |
razorpay-1.0.2 | test/razorpay/test_razorpay.rb |
razorpay-1.0.1 | test/razorpay/test_razorpay.rb |
razorpay-1.0.0 | test/razorpay/test_razorpay.rb |