fix some rubocop warnings

the last one will be fixed with the next rubocop release
This commit is contained in:
Benjamin Neff 2015-09-21 00:50:09 +02:00
parent 1ee03a1e66
commit eabe1135ee
7 changed files with 10 additions and 12 deletions

View file

@ -13,9 +13,7 @@ FactoryGirl.define do
diaspora_id diaspora_id
url "http://localhost:3000/" url "http://localhost:3000/"
serialized_public_key { generate(:public_key) } serialized_public_key { generate(:public_key) }
after(:create) do |u| after(:create, &:save)
u.save
end
end end
factory :webfinger, class: DiasporaFederation::Discovery::WebFinger do factory :webfinger, class: DiasporaFederation::Discovery::WebFinger do