summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2015-02-18 11:01:43 +0000
committerTails developers <tails@boum.org>2015-02-18 11:15:33 +0000
commita2e59fe3fc5cf8f70a8733dc8c97616f8bdd71a6 (patch)
tree78e07d9090c7dafa6fcf716ad9a5a6382718c113
parent244d46a2b9ddebcfcd4e3d9d2987ec599e3085af (diff)
Modify assert (s/>/>=/)
-rw-r--r--features/support/helpers/storage_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/helpers/storage_helper.rb b/features/support/helpers/storage_helper.rb
index 2e53122..d5aff4f 100644
--- a/features/support/helpers/storage_helper.rb
+++ b/features/support/helpers/storage_helper.rb
@@ -75,8 +75,8 @@ class VMStorage
extrapadding = 500
needed = convert_to_MiB(options[:size].to_i, options[:unit]) + extrapadding
avail = convert_to_MiB(get_free_space('host', @pool_path), "KiB")
- assert(avail > needed, "Error creating disk \"#{name}\" in \"#{@pool_path}\". Need " +
- "#{needed} MiB but only #{avail} MiB is available.")
+ assert(avail >= needed, "Error creating disk \"#{name}\" in \"#{@pool_path}\"." +
+ "Need #{needed} MiB but only #{avail} MiB is available.")
begin
old_vol = @pool.lookup_volume_by_name(name)