Skud
536cf21e3e
make it easier to wrangle scientific names
2013-05-09 11:39:22 +10:00
Lilly
4d372ab8f8
Added crop wrangling hints to crops form.
2013-05-02 12:13:28 +10:00
gnattery
9e805677b0
forgot to add a test
2013-03-23 19:22:45 +11:00
gnattery
be1034a50d
paginate crops
2013-03-20 14:50:16 +11:00
Skud
84a730ddcb
limit crop wrangling to crop wranglers
2013-03-18 17:02:22 +11:00
Joseph Caudle
728f8ec9ce
Update factory for members and specs about members
...
We have added a sequence for login_name which is similar to the one for
emails in which the member name is incremented each time a new member is
saved.
In addition, we have updated all specs which asked for an explicit
login_name of member1 to use a regex looking only for member and some
digit.
2013-02-21 21:57:39 -05:00
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
Skud
1503cbddad
Plantings show on members, gardens, and crops pages
...
Created a thumbnail to standardise the display. It's not pretty but it
has the basic info.
2013-01-18 13:40:30 +11:00
Skud
1da6c83fa1
Showing plantings on crops page. Ugly for now, but works.
2013-01-17 15:35:30 +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
46fd6953ac
factory-girl-ified the views/crops tests
2013-01-11 11:39:50 +11:00
Skud
fe24802790
added factorygirl, using it for one test so far
2013-01-11 11:01:34 +11:00
Skud
f3e624dd8d
crops page links to planting the right crop
2012-12-21 12:45:16 +11:00
cephLpod
8790c0a2b0
Added crop count to Crops page
2012-12-14 16:07:29 -06:00
Miles Gould
26e4699812
Merged "bootstrap".
2012-11-15 23:22:40 +00:00
Skud
6d7b04e734
Only logged in users can add/edit scientific names
...
Some small tweaks to crops tests along the way
2012-11-07 13:46:01 +11:00
Skud
4e3c47a82f
Showing scientific names on the crop page
2012-11-07 13:19:59 +11:00
Skud
8b353067be
Fixed a small bug in this test file.
2012-10-03 21:35:24 +01:00
Skud
dc00e06bad
Added tests for logged-in-ness in a few other places.
...
Turned actions ("add new", "edit', etc) into buttons using Zurb CSS.
2012-10-02 22:41:36 +01:00
Skud
aa0ff3869e
Need to be logged in to edit crops.
2012-10-02 22:15:56 +01:00
Miles Gould
622ddf620a
Refactor h2s into content_for :title
...
Now the alert and notice are shown below the subtitle, and the browser
title bar tells you something useful.
2012-10-02 11:32:56 +01:00
Miles Gould
b85354f099
Prettify views for crops.
2012-10-02 11:32:56 +01:00
Miles Gould
1d9c1b14fc
Generate scaffold for Crops; refactor tests
...
Add link to Crops page from index
Refactored index/application tests to better reflect where things are.
2012-10-02 11:32:56 +01:00