aboutsummaryrefslogtreecommitdiff
path: root/ruby/dep_spec_TEST.rb
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-29 11:03:54 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:58 +0100
commit5574c81a3c60266d023d18dfc115803da8b12e6b (patch)
tree659da456cb9813045fd32067a3db11d7c7d7ce82 /ruby/dep_spec_TEST.rb
parentb7f5d7dbfeff2e406ef24ca471657e1735a4db4f (diff)
downloadpaludis-5574c81a3c60266d023d18dfc115803da8b12e6b.tar.gz
paludis-5574c81a3c60266d023d18dfc115803da8b12e6b.tar.xz
category and package parts to requirements
Diffstat (limited to 'ruby/dep_spec_TEST.rb')
-rw-r--r--ruby/dep_spec_TEST.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/ruby/dep_spec_TEST.rb b/ruby/dep_spec_TEST.rb
index 6c5363f3b..7c585544f 100644
--- a/ruby/dep_spec_TEST.rb
+++ b/ruby/dep_spec_TEST.rb
@@ -192,19 +192,19 @@ module Paludis
end
def test_package_name_part
- assert_nil pda.package_name_part
- assert_equal "bar", pdb.package_name_part
- assert_nil pdc.package_name_part
- assert_nil pdd.package_name_part
- assert_nil pde.package_name_part
+ assert_nil pda.package_name_part_constraint
+ assert_equal "bar", pdb.package_name_part_constraint.name_part
+ assert_nil pdc.package_name_part_constraint
+ assert_nil pdd.package_name_part_constraint
+ assert_nil pde.package_name_part_constraint
end
def test_category_name_part
- assert_nil pda.category_name_part
- assert_nil pdb.category_name_part
- assert_nil pdc.category_name_part
- assert_equal "foo", pdd.category_name_part
- assert_nil pde.category_name_part
+ assert_nil pda.category_name_part_constraint
+ assert_nil pdb.category_name_part_constraint
+ assert_nil pdc.category_name_part_constraint
+ assert_equal "foo", pdd.category_name_part_constraint.name_part
+ assert_nil pde.category_name_part_constraint
end
def test_version_requirements