Skip to content
Snippets Groups Projects
Commit 1a19c281 authored by Raphael's avatar Raphael
Browse files

Move spec to user_spec

parent b67cee9a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment