Commit 9b47c95b authored by huzaifaiftikhar1's avatar huzaifaiftikhar1 Committed by Huzaifa Iftikhar

Use megabytes instead of bytes

parent 641151e0
......@@ -4,10 +4,10 @@ RSpec.shared_examples 'returns true if project is inactive' do
using RSpec::Parameterized::TableSyntax
where(:storage_size, :last_activity_at, :expected_result) do
104857 | 1.month.ago | false
104857 | 3.years.ago | false
8388600 | 1.month.ago | false
8388600 | 3.years.ago | true
1.megabyte | 1.month.ago | false
1.megabyte | 3.years.ago | false
8.megabytes | 1.month.ago | false
8.megabytes | 3.years.ago | true
end
with_them do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment