mas-rad_core 0.0.37 → 0.0.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/adviser.rb +1 -5
- data/lib/mas/rad_core/version.rb +1 -1
- data/spec/dummy/log/test.log +39585 -0
- data/spec/factories/adviser.rb +1 -1
- metadata +1 -1
data/spec/factories/adviser.rb
CHANGED
@@ -12,7 +12,7 @@ FactoryGirl.define do
|
|
12
12
|
firm
|
13
13
|
|
14
14
|
before(:create) { |a| a.class.skip_callback(:save, :after, :geocode) }
|
15
|
-
after(:create) { |a| a.class.set_callback(:save, :after, :geocode, if: :
|
15
|
+
after(:create) { |a| a.class.set_callback(:save, :after, :geocode, if: :valid?) }
|
16
16
|
|
17
17
|
after(:build) do |a|
|
18
18
|
if a.reference_number?
|