test_dummy 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/VERSION +1 -1
- data/lib/test_dummy.rb +1 -1
- data/test_dummy.gemspec +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/test_dummy.rb
CHANGED
@@ -207,7 +207,7 @@ module TestDummy
|
|
207
207
|
|
208
208
|
@test_dummy_order.each do |name|
|
209
209
|
if (reflection = reflect_on_association(name))
|
210
|
-
unless ((with_attributes and with_attributes.key?(name.to_sym)) or model.send(name))
|
210
|
+
unless ((with_attributes and with_attributes.key?(name.to_sym)) or model.send(name).present?)
|
211
211
|
model.send(:"#{name}=", dummy_method_call(model, with_attributes, dummy_method(name)))
|
212
212
|
end
|
213
213
|
else
|
data/test_dummy.gemspec
CHANGED