danielvincent
b08c4fb84e
removed user#aspect method. all aspect creation should be scoped through the user -> aspect association proper: user.aspects.create(opts)
2010-10-31 12:34:26 -07:00
danielvincent
5a9bfa7405
DG IZ; post senders are now verified by diaspora handles
2010-10-29 16:49:59 -07:00
Raphael
99eb25762d
Moving to make_user, a few specs broken
2010-10-29 15:53:21 -07:00
ilya
7083d2aa03
Moving friendships into a 'Contact' proxy object.
2010-10-22 18:11:04 -07:00
Raphael
1fd3aeabd9
Add or later to license notice
2010-10-07 16:25:34 -07:00
Stephen Caudill
81d753e773
Refactor Album spec
...
* use let(!) where appropriate (see [1] for more info).
* use `context` to portray scenarios
* use `describe` to portray method and Class specifications
* omit the word "should" from example descriptions (Dave Chelimsky
remarked to me that it was "tantamount to line-noise" and I'm of the
opinion that it adds no value.
* use more idiomatic Ruby (prefer things like 2.times to 1.upto(2))
* use more idiomatic Rails (prefer 1.minute.from_now to Time.now +
60*60)
* use more idiomatic Rspec (prefer album.should be_valid to
album.valid?.should be_true
* also ensure to only make one assertion per example
Other sundry cleanups.
[1] http://rdoc.info/github/rspec/rspec-core/master/RSpec/Core/Let/ClassMethods#let-instance_method
2010-09-17 16:41:58 -04:00
Jamie Wilkinson
fbdd50172d
Cleanup stray whitespace
2010-09-16 10:07:59 +08:00
Raphael
708e9f88a5
Spell our own name right
2010-09-15 17:56:18 -07:00
Raphael
aa3ebe372c
License notices replaced
2010-09-15 10:58:48 -07:00
Daniel Vincent Grippi
4c15b1a01c
added license to every single goddamn file. also, put one in the root dir.
2010-09-13 14:23:50 -07:00
Raphael
44a1f82da9
Rename group to aspect
2010-09-13 10:38:38 -07:00
Raphael
41aa8ed10e
Specs pass again, need to make albums have a group
2010-08-24 17:12:27 -07:00
Raphael
c102e81b03
put the visible back in
2010-08-24 16:56:04 -07:00
Raphael
39c96bfd04
Changing to a smaller pic in the tests
2010-08-18 16:00:06 -07:00
Raphael
10aef7a0a3
Begin rescue on publics controller to make the post for nonexistent user error more readable
2010-08-18 11:46:28 -07:00
danielvincent
67d4aea1db
DG MS; fixed album specs
2010-08-05 12:00:23 -07:00
Raphael
ac45960bbf
Fixed album spec, condensed traversing tests to halve the time of the spec (It was reading the photos from disk on every spec)
2010-08-02 12:33:36 -07:00
ilya
4eccf63fef
Can't upload to other people's album
2010-07-23 16:26:05 -07:00
ilya
24f8b33f2f
Tests all pass!
2010-07-22 11:36:36 -07:00
ilya
606fa3353c
RS, IZ; Photos might push urls to friends
2010-07-21 18:02:13 -07:00
maxwell
0d268905e7
DG MS all photos of a album are destroyed on album deletion
2010-07-21 17:05:40 -07:00
maxwell
695a93ddad
DG MS added basic album traversal
2010-07-21 14:29:58 -07:00
maxwell
301343ae01
DG MS added basic album support
2010-07-20 21:28:24 -07:00