mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
Move spec to user_spec
This commit is contained in:
@@ -13,9 +13,6 @@ describe 'user encryption' do
|
||||
@aspect2 = @user2.aspect(:name => 'dudes')
|
||||
end
|
||||
|
||||
it 'should have a key' do
|
||||
@user.encryption_key.should_not be nil
|
||||
end
|
||||
describe 'key exchange on friending' do
|
||||
it 'should send over a public key' do
|
||||
message_queue.stub!(:add_post_request)
|
||||
|
||||
@@ -10,6 +10,10 @@ describe User do
|
||||
let(:user2) { Factory(:user) }
|
||||
let(:aspect2) { user2.aspect(:name => 'stuff') }
|
||||
|
||||
it 'should have a key' do
|
||||
user.encryption_key.should_not be nil
|
||||
end
|
||||
|
||||
describe "validation" do
|
||||
describe "of associated person" do
|
||||
it "fails if person is not valid" do
|
||||
|
||||
Reference in New Issue
Block a user