Sha256: d450d63dbbee907b475d3f64e2ca4bf6510e53176e03b2195ba3d005af5f7b16

Contents?: true

Size: 301 Bytes

Versions: 21

Compression:

Stored size: 301 Bytes

Contents

class TestRole < Test::Unit::TestCase
  def test_role_attributes
    params = {
      "name" => "test_role",
      "description" => "test_description_1"
    }

    role = Yao::Role.new(params)
    assert_equal(role.name, "test_role")
    assert_equal(role.description, "test_description_1")
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
yao-0.7.0 test/yao/resources/test_role.rb
yao-0.6.3 test/yao/resources/test_role.rb
yao-0.6.2 test/yao/resources/test_role.rb
yao-0.6.1 test/yao/resources/test_role.rb
yao-0.6.0 test/yao/resources/test_role.rb
yao-0.5.0 test/yao/resources/test_role.rb
yao-0.4.3 test/yao/resources/test_role.rb
yao-0.4.2 test/yao/resources/test_role.rb
yao-0.4.1 test/yao/resources/test_role.rb
yao-0.4.0 test/yao/resources/test_role.rb
yao-0.3.8 test/yao/resources/test_role.rb
yao-0.3.7 test/yao/resources/test_role.rb
yao-0.3.6 test/yao/resources/test_role.rb
yao-0.3.5 test/yao/resources/test_role.rb
yao-0.3.4 test/yao/resources/test_role.rb
yao-0.3.3 test/yao/resources/test_role.rb
yao-0.3.2 test/yao/resources/test_role.rb
yao-0.3.1 test/yao/resources/test_role.rb
yao-0.3.0 test/yao/resources/test_role.rb
yao-0.2.13 test/yao/resources/test_role.rb