Sha256: e5f76efa932eb9bfc6fd1f0c781eece34454639bb705e6bfdc62c980e7923237

Contents?: true

Size: 325 Bytes

Versions: 21

Compression:

Stored size: 325 Bytes

Contents

class TestUser < Test::Unit::TestCase
  def test_sg_attributes
    params = {
      "name" => "test_user",
      "email" => "test-user@example.com",
      "password" => "passw0rd"
    }

    user = Yao::User.new(params)
    assert_equal(user.name, "test_user")
    assert_equal(user.email, "test-user@example.com")
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
yao-0.2.12 test/yao/resources/test_user.rb