Move spec to user_spec
This commit is contained in:
parent
b67cee9af0
commit
1a19c28199
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue