Commit Graph

17 Commits

Author SHA1 Message Date
Skud
75e8ea1119 I'd rather not use Member.new 2013-02-01 13:37:33 +11:00
Skud
87f14247e0 modified views to use CanCan 2013-02-01 13:24:32 +11:00
gnattery
d1e3f8ce32 Added description field to gardens 2013-01-18 15:11:11 +11:00
Skud
a0b74562f5 remote "Note" about random selection of crops 2013-01-17 15:16:38 +11:00
Skud
501cad39f9 Plantings now show up on members and gardens pages 2013-01-17 15:12:37 +11:00
Skud
7579d894aa Renamed default garden in /spec/factory/garden
"My Garden" was too generic and hard to test for -- tests like
rendered.should contain "Garden" are far too easy to have a false
positive pass.  So I renamed it "Springfield Community Garden" so that
false-positive passes were less likely.
2013-01-13 21:32:54 +11:00
Skud
8da9a13eae Changed garden.member_id to garden.owner_id 2013-01-13 21:29:28 +11:00
Skud
edb59e07ee s/users/members/g -- all tests pass
There's still probably stuff broken, but this seemed like a good spot to
commit.  Sorry for the enormous chunk of code.  I was attempting to
update the views, but found that I needed to update a few things
elsewhere as well to make them work.
2013-01-13 18:33:43 +11:00
Skud
72bb1a641f Made the :user factory be confirmed by default.
We hardly ever actually need an unconfirmed user, but if we do, there is
now :unconfirmed_user for that purpose.
2013-01-13 13:10:24 +11:00
Skud
8b0fa9e050 FGified garden tests. Removed some spurious bits. 2013-01-13 12:17:06 +11:00
pozorvlak
898b41d656 Merge pull request #74 from Skud/plantsomething
Plantsomething
2012-12-22 15:29:41 -08:00
Skud
f9394291ff show plant something link on garden page 2012-12-21 12:51:30 +11:00
Juliet
c5b606e9d6 Adding new garden; updating new garden page to ask only for garden name. Story
40983821 https://www.pivotaltracker.com/projects/646869#!/stories/40983821

Committing test for changes
2012-12-20 12:13:58 +00:00
Skud
3548d8f4ee Added edit button to garden page 2012-12-05 21:54:29 +11:00
Skud
18f25a5217 Fixed broken tests. 2012-12-05 21:45:37 +11:00
Skud
91e24e4ac2 fixed broken tests 2012-11-26 22:36:50 +11:00
Norman Ancajas
f89815b6b3 added gardens table 2012-11-05 11:45:56 +08:00