Commit Graph

166 Commits

Author SHA1 Message Date
Brenda Wallace
d0bee45c0c show all varieties (including grandchildren) 2019-11-01 21:33:43 +13:00
Brenda Wallace
8cf5acc30a Update spec to expect weeks to be rounded 2019-10-25 07:42:13 +13:00
Brenda Wallace
358631d0f9 update spec to look for weeks 2019-10-24 20:58:27 +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
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
6a4158ae04 👭 Crop companions (#2176)
* Crop companions
* Use a nil license to mean no licence
* dependent for crop->crop_companions relationship
* Fix crop detail spec
2019-09-28 10:38:01 +12:00
Brenda Wallace
a50b0485ac find button by class 2019-09-01 20:46:46 +12:00
Brenda Wallace
017a942a41 Rename classes to name codeclimate happy 2019-09-01 19:58:47 +12:00
Brenda Wallace
c6d4563edc Updated spec 2019-08-20 15:09:39 +00:00
Brenda Wallace
fa5b2eea32 DRY spec 2019-08-19 09:21:28 +12:00
Brenda Wallace
34b399cd8e Use more signed in contexts in browse crops spec
More member role contexts on alt name spec

More member role contexts in crop feature specs

Don't wrap the shared_context
2019-08-18 16:10:03 +12:00
Brenda Wallace
756cf1fe3a Removing unused code in specs 2019-08-18 14:51:24 +12:00
Brenda Wallace
a74891f97f Fix spec 2019-08-17 15:30:45 +12:00
Brenda Wallace
7a21ec31d9 wrap context in spec 2019-08-17 15:12:29 +12:00
Brenda Wallace
a993eadea9 fix spec 2019-08-17 14:43:39 +12:00
Brenda Wallace
1cb0096788 fixed specs 2019-08-17 14:38:43 +12:00
Brenda Wallace
aa17f8e332 Removed unused let() 2019-08-17 14:17:05 +12:00
Brenda Wallace
8936933251 Shared context for signing in (and then out) in feature specs 2019-08-17 14:10:56 +12:00
Brenda Wallace
6383dbc19f more percy specs 2019-07-11 10:18:54 +00:00
Brenda Wallace
4e6debcb55 Https in url to gardenate 2019-07-10 09:03:05 +00:00
Brenda Wallace
264506ef38 Move crop wrangling view test to feature spec 2019-06-26 11:16:41 +12:00
Brenda Wallace
8af856f990 Updating specs 2019-06-25 11:36:23 +12:00
Brenda Wallace
cafc514ee5 spec updates 2019-06-24 18:06:32 +12:00
Brenda Wallace
ea261748c3 Update crop spec to expect the full size photos 2019-06-16 21:14:31 +12:00
Brenda Wallace
391874e27e rubocop lint fixes 2019-06-16 10:30:09 +12:00
Brenda Wallace
31e1545a21 comment out status code test until it works with chrome headless 2019-06-16 10:28:19 +12:00
Brenda Wallace
adb0a1043d Move gardens specs to gardens folder 2019-06-15 20:07:48 +12:00
Brenda Wallace
8599543daf actions menu is a link, not a button. fix spec 2019-06-15 17:13:22 +12:00
Brenda Wallace
d21cbf994b poltergeist work around not needed anymore 2019-06-15 14:34:49 +12:00
Brenda Wallace
d93fdd02e3 get specs for browsing crops working 2019-06-14 20:39:42 +12:00
Brenda Wallace
4fa4286670 dismiss the alert when deleting crops 2019-06-14 20:32:12 +12:00
Brenda Wallace
40c75e0109 Delete needs confirmations in the specs 2019-06-14 18:12:33 +12:00
codefactor-io
b62f648042 [CodeFactor] Apply fixes 2019-06-07 10:38:58 +00:00
Brenda Wallace
ee7ea523e1 capitalise name in spec to match new view 2019-06-07 20:44:44 +12:00
Brenda Wallace
a93aecdb3b Alternate names specs 2019-06-07 14:01:21 +12:00
Brenda Wallace
4ab140a15e actions are now in the actoins menu. update spec 2019-06-06 22:30:28 +12:00
Brenda Wallace
78ea7d6a53 Crop wrangling is now under the admin menu - update spec 2019-06-06 22:30:17 +12:00
Awesome Code
8b0ecd568e Auto corrected by following Lint Ruby RSpec/ImplicitSubject 2019-04-17 10:37:30 +12:00
Brenda Wallace
7ac410c499 varieties info on crops#show (#1848)
* Tests for crop.photos
* More info on a crop's varieties, and parent
* Update spec for new crop varieties display
* Add varieties div wrapper, so test can find the area of the page
2019-04-10 20:02:05 +12:00
Awesome Code
a2fd0f0ae2 Auto corrected by following Lint Ruby RSpecEmptyLine 2019-04-01 10:15:18 +00:00
Awesome Code
4ba5319ba8 Auto corrected by following Lint Ruby Capybara/FeatureMethods 2019-04-01 23:02:50 +13:00
Awesome Code
ad470ede1d Auto corrected by following Lint Ruby RSpec/AlignRightLetBrace 2019-03-13 17:23:33 +13:00
Awesome Code
f90cc792bb Auto corrected by following Lint Ruby RSpec/AlignLeftLetBrace 2019-03-13 11:42:27 +13:00
Brenda Wallace
0c868d3edb Merge branch 'dev' into photos/seeds 2019-02-16 12:37:53 +13:00
Brenda Wallace
d3a542727c Fixing crop deleting and adding tests 2019-02-15 08:45:18 +13:00
Brenda Wallace
572af9d135 Merge branch 'dev' into photos/seeds 2019-02-09 17:00:58 +13:00
Awesome Code
284bb81bbf Auto corrected by following Lint Ruby RSpecEmptyLine 2019-02-09 03:05:40 +00:00
Brenda Wallace
51e6da7da6 Rubocop lint tidxy 2019-02-05 12:37:23 +13:00
Brenda Wallace
b29c830f65 Merge branch 'dev' into photos/seeds 2019-02-04 21:17:08 +13:00
Brenda Wallace
a074810988 FEature specs for showing photos on crops#show 2019-02-04 21:03:31 +13:00