[CodeFactor] Apply fixes to commit 44d635e

This commit is contained in:
codefactor-io
2019-12-21 03:25:07 +00:00
parent 44d635e9b3
commit cb75e4ff0c

View File

@@ -16,26 +16,26 @@ describe "plantings/index" do
plantings = WillPaginate::Collection.create(page, per_page, total_entries) do |pager|
pager.replace([
{
'crop_name' => tomato.name,
'slug' => 'tomato-1',
'crop_name' => tomato.name,
'slug' => 'tomato-1',
'owner_name' => member.login_name,
'owner_slug' => member.slug
},
{
'crop_name' => maize.name,
'slug' => 'maize',
'crop_name' => maize.name,
'slug' => 'maize',
'owner_name' => garden.owner.login_name,
'owner_slug' => garden.owner.slug,
'planted_at' => Time.zone.local(2013, 1, 13)
},
{
'crop_name' => tomato.name,
'slug' => 'tomato-2',
'owner_name' => garden.owner.login_name,
'owner_slug' => garden.owner.slug,
'planted_at' => Time.zone.local(2013, 1, 13),
'crop_name' => tomato.name,
'slug' => 'tomato-2',
'owner_name' => garden.owner.login_name,
'owner_slug' => garden.owner.slug,
'planted_at' => Time.zone.local(2013, 1, 13),
'finished_at' => Time.zone.local(2013, 1, 20),
'finished' => true
'finished' => true
}
])
end