ya 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ya/directory.rb +1 -1
- data/test/test_ya.rb +4 -0
- data/ya.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/lib/ya/directory.rb
CHANGED
data/test/test_ya.rb
CHANGED
@@ -102,6 +102,10 @@ class TestYa < Test::Unit::TestCase
|
|
102
102
|
assert_nil @directory.authenticate(nil, nil)
|
103
103
|
end
|
104
104
|
|
105
|
+
should 'return nil if blank strings are passed for login and password' do
|
106
|
+
assert_nil @directory.authenticate('', '')
|
107
|
+
end
|
108
|
+
|
105
109
|
should 'return false if nil is passed in for password' do
|
106
110
|
assert !@directory.authenticate('somebody', nil)
|
107
111
|
end
|
data/ya.gemspec
CHANGED