diff options
Diffstat (limited to 'test/stylesheet/tc_border_pr.rb')
| -rw-r--r-- | test/stylesheet/tc_border_pr.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/stylesheet/tc_border_pr.rb b/test/stylesheet/tc_border_pr.rb index 652f4f6d..90f18586 100644 --- a/test/stylesheet/tc_border_pr.rb +++ b/test/stylesheet/tc_border_pr.rb @@ -8,9 +8,9 @@ class TestBorderPr < Test::Unit::TestCase def teardown; end def test_initialiation - assert_equal(@bpr.color, nil) - assert_equal(@bpr.style, nil) - assert_equal(@bpr.name, nil) + assert_nil(@bpr.color) + assert_nil(@bpr.style) + assert_nil(@bpr.name) end def test_color @@ -22,12 +22,12 @@ class TestBorderPr < Test::Unit::TestCase def test_style assert_raise(ArgumentError) { @bpr.style = :red } assert_nothing_raised { @bpr.style = :thin } - assert_equal(@bpr.style, :thin) + assert_equal(:thin, @bpr.style) end def test_name assert_raise(ArgumentError) { @bpr.name = :red } assert_nothing_raised { @bpr.name = :top } - assert_equal(@bpr.name, :top) + assert_equal(:top, @bpr.name) end end |
