summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorJan-Hendrik Hühne <[email protected]>2012-06-06 17:47:50 +0200
committerJan-Hendrik Hühne <[email protected]>2012-06-06 17:47:50 +0200
commitf2f00ef663f4b074b68ded459c3882cf784484bb (patch)
treeb135047ba8c107f8b62cb8e0a2371236944f099c /test
parent264c9e55e0b72db341f85588d9ed1481a7cf8888 (diff)
downloadcaxlsx-f2f00ef663f4b074b68ded459c3882cf784484bb.tar.gz
caxlsx-f2f00ef663f4b074b68ded459c3882cf784484bb.zip
Validator rename
Diffstat (limited to 'test')
-rw-r--r--test/util/tc_validators.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/util/tc_validators.rb b/test/util/tc_validators.rb
index 66138c54..4de13ec3 100644
--- a/test/util/tc_validators.rb
+++ b/test/util/tc_validators.rb
@@ -144,11 +144,11 @@ class TestValidators < Test::Unit::TestCase
#active_pane_type
[:bottom_left, :bottom_right, :top_left, :top_right].each do |sym|
- assert_nothing_raised { Axlsx.validate_active_pane_type sym }
+ assert_nothing_raised { Axlsx.validate_pane_type sym }
end
- assert_raise(ArgumentError) { Axlsx.validate_active_pane_type :other_symbol }
- assert_raise(ArgumentError) { Axlsx.validate_active_pane_type 'bottom_left' }
- assert_raise(ArgumentError) { Axlsx.validate_active_pane_type 0 }
+ assert_raise(ArgumentError) { Axlsx.validate_pane_type :other_symbol }
+ assert_raise(ArgumentError) { Axlsx.validate_pane_type 'bottom_left' }
+ assert_raise(ArgumentError) { Axlsx.validate_pane_type 0 }
#split_state_type
[:frozen, :frozen_split, :split].each do |sym|