move website from User to UserProfile

This commit is contained in:
Andrew Bezzub
2014-06-06 21:54:32 -07:00
parent 1c7f68764a
commit 7db31adf35
6 changed files with 29 additions and 5 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ describe UserUpdater do
updater.update(website: 'http://example.com')
expect(user.reload.website).to eq 'http://example.com'
expect(user.reload.user_profile.website).to eq 'http://example.com'
end
end
@@ -79,7 +79,7 @@ describe UserUpdater do
updater.update(website: 'example.com')
expect(user.reload.website).to eq 'http://example.com'
expect(user.reload.user_profile.website).to eq 'http://example.com'
end
end
end