Sha256: 2d5ec8af0bd7f82d55455698b27b1d9718fae5f44c0b3249fe1d10535965f24b
Contents?: true
Size: 452 Bytes
Versions: 27
Compression:
Stored size: 452 Bytes
Contents
require "#{File.dirname(__FILE__)}/test_helper" class AuthTest < Test::Unit::TestCase context "An Auth object" do setup do @auth = Pork::Auth.new("username", "password", "user_agent") end should "be able to be created" do assert_equal "username", @auth.auth.client.username assert_equal "password", @auth.auth.client.password assert_equal "user_agent", @auth.auth.client.options[:user_agent] end end end
Version data entries
27 entries across 27 versions & 1 rubygems