mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-31 20:51:02 -05:00
Tidy up
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
%ul.list-unstyled.d-flex.justify-content-between
|
||||
- (@planting.expected_lifespan / 7).times do |week_number|
|
||||
%li{class: @planting.planted_at + week_number.weeks > Time.zone.today ? 'text-muted progress-fade' : '', 'data-toggle': "tooltip", 'data-placement': "top", title: I18n.l(@planting.planted_at + week_number.weeks)}
|
||||
= render 'timeline_icon', planting: @planting,
|
||||
week_number: week_number, date_this_week: @planting.planted_at + week_number.weeks
|
||||
= render 'timeline_icon',
|
||||
planting: @planting,
|
||||
week_number: week_number,
|
||||
date_this_week: @planting.planted_at + week_number.weeks
|
||||
(One emojii = 1 week)
|
||||
|
||||
@@ -116,7 +116,7 @@ describe "Planting a crop", :js, :elasticsearch do
|
||||
|
||||
expect(page).to have_content "planting was successfully created"
|
||||
expect(page).not_to have_content "0%"
|
||||
expect(page).not_to have_content "Finished"
|
||||
expect(page).not_to have_content "Finish expected"
|
||||
expect(page).not_to have_content "Finishes"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user