test/unit/test_support.rb in aurb-1.0.3 vs test/unit/test_support.rb in aurb-1.1.0
- old
+ new
@@ -5,20 +5,9 @@
should 'be able to check for blank' do
assert ''.blank?
assert nil.blank?
end
- context 'for symbol' do
- setup do
- @stub = ['HELLO']
- end
-
- should 'allow for to_proc on enumerations' do
- assert_equal @stub.map {|s| s.downcase}, @stub.map(&:downcase)
- assert_equal ['hello'], @stub.map(&:downcase)
- end
- end
-
context 'for hash' do
setup do
@hash_s = {'hello' => 'world'}
@hash_sym = {:hello => 'world'}
end