Daniel O'Connor
cad361ed7a
#509 Update expectations, they were slightly different to what the test tool claimed they would be.
2015-08-25 00:57:39 +09:30
Daniel O'Connor
1187719e7b
#509 Add some basic test coverage
2015-08-25 00:51:13 +09:30
Anthony Atkinson
a03d044049
Make a reusable helper for the "* denotes a required field" help text and change the Planting form to use the helper.
2015-07-22 10:59:47 -04:00
Miles Gould
3259291eea
Merge remote-tracking branch 'upstream/pr/698' into dev
2015-07-08 23:20:16 +01:00
Cjay Billones
29a8628c42
Refactor spec/helpers
...
Change before(:each) into let in spec/helpers
2015-07-07 07:38:06 +08:00
Andrey
44b260b1e8
Currency refactoring in specs.
2015-06-26 15:54:37 +10:00
Andrey
e35ebab380
Reply to notification action
2015-05-27 11:56:24 +10:00
Gabrielle DeWitt
b7d7f6896e
Updated Helper Spec to Match Coding Standards
...
Replaced before and should with let and
expect, respectively.
Issue #633
2015-04-04 12:01:43 -07:00
Gabrielle DeWitt
88e8e3a59e
Added Helper for See Who's Planted Link Text
...
Quantity and planted_from are not required
to add a planting. This change handles
the cases where one or both attributes are
missing.
Fixes #633
2015-04-04 11:51:59 -07:00
Taylor Griffin
7fc886f43c
implement custom Sweeper class as stop gap against errors when running specs
2014-11-16 12:01:27 +11:00
Skud
c5e8e4298f
Separated informal/human units from measured weights
2013-09-25 15:39:17 +10:00
Skud
ebf6034659
Prettified all the harvest views
2013-09-17 17:09:17 +10:00
Skud
37383ba451
rails g scaffold Harvest...
2013-09-17 15:39:25 +10:00
Miles Gould
6469ed9418
Delete unused helpers and tests for same.
2013-07-03 11:34:08 +01:00
Skud
2ecbd8315d
bugfix: don't say 'not yet set' in planting form
...
PT: https://www.pivotaltracker.com/story/show/51457917
Maco found this. The problem was that if you had a blank planting date,
and then re-edited the planting, it would say "not yet set" in the form
field, then die when it later tried to convert that to a date.
I replaced Miles's planted_at_string stuff in the model with a simpler
parse_date method in the application helper.
2013-06-11 16:08:02 +10:00
Skud
39d1a74745
misc tidying up
2013-06-04 20:27:56 +10:00
Skud
cbca8c19a5
added admin controller and index view
2013-05-31 10:23:06 +10:00
Skud
7a1eaeffee
added admin controller and index view
2013-05-29 14:37:42 +10:00
Skud
3aaf344951
rename account details to just account
2013-05-18 10:50:36 +10:00
Skud
c595b2181d
added account_types, fixed a bunch of tests
2013-05-17 16:07:46 +10:00
Skud
0157229936
added account_details table, set up abilities
...
also tweaked some order/order_item related abilities
2013-05-17 13:05:46 +10:00
Skud
c13ae183ec
order things direct from the /shop page
2013-05-16 00:24:51 +10:00
Skud
abcba35a71
Converted prices to integers/cents to avoid floating point trouble
2013-05-15 23:09:35 +10:00
Skud
8626702544
Fixed type for member_id (should be integer)
2013-05-15 15:51:20 +10:00
Skud
7d74203735
rails g scaffold OrderItem...
2013-05-15 13:47:16 +10:00
Miles Gould
6ab098c015
Move reply_link into a helper.
...
- keep @reply_link as an instance var, for testability
- always use fully-qualified URLs, to reduce code duplication
2013-05-01 23:45:07 +01:00
Miles Gould
c46ba2f16b
Delete unused helpers.
2013-05-01 16:27:29 +01:00
Skud
0af986021e
Generated scaffold for plantings
2012-12-19 13:30:40 +11:00
Miles Gould
c3940969c9
Remove "pending" tests
...
Most we deleted, because we couldn't think of any interesting tests to
write.
We added a test for the garden_slug method of Garden.
2012-12-11 00:53:39 +00:00
Skud
760cf03b2c
Fixed tests by getting rid of valid_session
2012-11-26 19:04:43 +11:00
Norman Ancajas
f89815b6b3
added gardens table
2012-11-05 11:45:56 +08: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