Commit Graph

688 Commits

Author SHA1 Message Date
Brenda Wallace
43a577fa50 Update rubocop config 2021-01-05 19:46:07 +13:00
Rowan Crawford
3c8b59811b ws, is there no prettier equivalent? 2020-11-03 07:03:13 +13:00
Rowan Crawford
c889b63611 the answer is not mutating @crop 2020-11-03 07:03:13 +13:00
Brenda Wallace
d36d5ff1e3 mark test as javascript 2020-11-03 07:03:13 +13:00
Rowan Crawford
86c832d6ad ws 2020-11-03 07:03:13 +13:00
Rowan Crawford
59a693ec1f test doesn't work because don't understand how to write specs 2020-11-03 07:03:13 +13:00
Brenda Wallace
f2b385bd5e Help view spec find the correct template 2020-08-26 12:36:58 +12:00
Brenda Wallace
b9c411d385 Removed cloudmade test 2020-08-26 12:36:58 +12:00
Brenda
821ddd90cb fix specs 2020-02-10 14:21:03 +13:00
codefactor-io
34ddf8e98f [CodeFactor] Apply fixes 2020-01-21 13:12:28 +13:00
codefactor-io
7e30b6b6e0 [CodeFactor] Apply fixes 2020-01-03 11:28:51 +00:00
Brenda Wallace
a89534da53 harvest tidy up 2019-12-28 10:06:10 +13:00
Brenda Wallace
23886de24b revert plantings#index spec 2019-12-27 09:07:47 +13:00
Brenda Wallace
9e0f35b22b fixing plantings rss feed 2019-12-26 23:22:12 +13:00
codefactor-io
99d436a91f [CodeFactor] Apply fixes to commit 5962081 2019-12-24 22:45:59 +00:00
Brenda Wallace
5962081c9e fix specs fpr seeds rss feed 2019-12-25 11:42:29 +13:00
Brenda Wallace
2c5d5e0983 fix ruby syntax in spec 2019-12-24 22:18:14 +13:00
Brenda Wallace
b25a13df89 fix rss feeds 2019-12-24 21:53:00 +13:00
Brenda Wallace
56c3fdd4fe index records before vie spec 2019-12-24 20:23:27 +13:00
Brenda Wallace
44a59a30e1 seeds#index rss format specs updated to use ES 2019-12-24 09:44:12 +13:00
Brenda Wallace
d71d8aa603 seeds view spec refresehs the ES index 2019-12-24 09:24:43 +13:00
Brenda Wallace
1f17ea1e03 fixes (most of) seed rss specs 2019-12-23 16:52:56 +13:00
Brenda Wallace
8f25ef5258 index seeds in spec 2019-12-23 15:07:24 +13:00
Brenda Wallace
96f6fd3708 update to expect syntax 2019-12-22 17:16:13 +13:00
Brenda Wallace
6b1f85fe72 Merge branch 'dev' into cache/harvests 2019-12-21 17:27:23 +13:00
Brenda Wallace
97c4bd3919 Remove newrelic (#2339)
* Remove newrelic
* Update forum view spec
* only test for the first 20 chars of post subject
2019-12-21 17:07:20 +13:00
codefactor-io
cb75e4ff0c [CodeFactor] Apply fixes to commit 44d635e 2019-12-21 03:25:07 +00:00
Brenda Wallace
44d635e9b3 Update plantings#index view spec to use hashes like an ES search result 2019-12-21 16:24:21 +13:00
codefactor-io
e8760f9c38 [CodeFactor] Apply fixes 2019-12-20 03:33:23 +00:00
Brenda Wallace
04fd1a343a Rubocop update (#2334)
* Update rubocop config

* Rubocop update - for rubocop 0.77

* [CodeFactor] Apply fixes

* rubocop fixes

* [CodeFactor] Apply fixes to commit 2826c2e
2019-12-16 22:35:33 +13:00
Brenda Wallace
7c38f7eca6 Pull homepage data directly from elasticsearch (#2316)
* Pull homepage data directly from elasticsearch

* Removing non-elasticsearch options

* [CodeFactor] Apply fixes to commit c46b2e7
2019-12-09 10:03:48 +13:00
Brenda
bb4ea1ed0d Renamed spec so it find the renamed view 2019-11-30 20:09:54 +13:00
Brenda Wallace
ace0f0ac16 stub the neighbours variable on planting views spec 2019-11-24 12:46:03 +13:00
Brenda Wallace
d90a58218a Remove roles#show 2019-10-21 15:38:46 +13:00
Brenda Wallace
13c024fac9 Fixed typo in spec 2019-10-21 15:13:47 +13:00
Brenda Wallace
498a754eea update specs for admin roles 2019-10-21 14:32:23 +13:00
Brenda Wallace
6280115055 Merge branch 'role-admin' of github.com:br3nda/growstuff into role-admin 2019-10-21 14:27:02 +13:00
Brenda Wallace
8c694b3dca Only show companions of active plantings 2019-10-21 14:19:47 +13:00
Brenda Wallace
6bd7e139a6 Move views specs to admin 2019-10-19 16:04:16 +13:00
Brenda Wallace
b0c8b11246 📝 Inline editing and display tidy ups (#2200)
* Inline editing and display tidy ups
2019-10-08 11:06:53 +13:00
Brenda Wallace
f297fdc677 Inline editing and display tidy ups 2019-10-05 20:58:00 +13:00
Brenda Wallace
7b5698f977 👩‍🌾 Import openfarm data (#2177)
* Pull in openfarm icons, photos, info
* Truncating member location
* tidying up harvest display, and reducing duplication in css styles
* Tiny crop chip
* only show crop charts if there is data to show
* Make the styles more Growstuff
* Fixed links to openfarm
* Updating specs to cope with new photo sources
fix broken garden timeline on some pages
* Update homepage blurb
* Import crop companions
* More fluid page
* use thumbnail unless the source is flickr
* Messing with homepage
* Added crop growing_degree_days
* expect full size url on photos helper spec
* formatted dates from seeds#show
* tidy up places#show
* Move progress bar
* Quicker buttons for approve/reject crops
* Remove kaminari gem
* use crop cards on hierarchy page
* more crops on crops#index
* Wrap photo creation in transaction
* Wrap crop companions in a transaction
2019-09-28 17:23:25 +12:00
Brenda Wallace
367377088b Fix specs for photo sources 2019-09-21 09:37:55 +12:00
Brenda Wallace
5d7ef7e861 rubocop lint 2019-08-10 17:30:41 +12:00
Brenda Wallace
843e15a107 Removed notification view spec 2019-08-10 10:53:20 +12:00
Brenda Wallace
d382f84f9b Remove notifications code 2019-07-21 17:28:04 +12:00
Brenda Wallace
c91fdf4744 Update inbox link in spec 2019-07-11 22:01:03 +12:00
Brenda Wallace
d2c5d8e9ce Update inbox link in spec 2019-07-11 20:11:49 +12:00
Brenda Wallace
1250fa388f Fix spec for notifications#index 2019-07-11 12:41:02 +12:00
Brenda Wallace
de80a84502 update notification view spec, not a table anymore 2019-07-11 12:12:05 +12:00