added user edit, show view info and spec for user profile update

This commit is contained in:
AnithaPal 2016-08-30 13:19:29 -04:00
parent c48c8afa51
commit a2dd90d355
8 changed files with 155 additions and 14 deletions

View file

@ -20,6 +20,17 @@ FactoryGirl.define do
sequence(:username) { |n| "username#{n}" }
password 'changeme'
password_confirmation 'changeme'
googleplus { Faker::Internet.url('http://plus.google.com/testosemurl') }
linkedin {Faker::Internet.url('http://linkedin.com/testosemuser')}
website_url { Faker::Internet.url('http://example.com') }
gnu { Faker::Internet.url('http://gnu.io/testosemurl') }
twitter { Faker::Internet.url('http://twitter.com/testosemuser') }
github { Faker::Internet.url('http://github.com/testosemuser') }
gitlab { Faker::Internet.url('http://gitlab.com/testosemuser') }
savannah { Faker::Internet.url('http://savannah.gnu.org/testosemuser') }
diaspora { Faker::Internet.url('http://joindiaspora.com/testosemuser') }
gna { Faker::Internet.url('http://gna.com/testosemuser') }
confirmed_at { Time.now }
biography <<-EOS
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus enim