5737: Fixed unused variable declarations.
[arvados.git] / services / api / test / unit / container_test.rb
index ef64eff141b627368f6c281b7d57920693d3027e..a1755332853e227acee600d990b1866a9d22b443 100644 (file)
@@ -269,8 +269,8 @@ class ContainerTest < ActiveSupport::TestCase
   test "find_reusable method should select complete over running container" do
     set_user_from_auth :active
     common_attrs = REUSABLE_COMMON_ATTRS.merge({environment: {"var" => "completed_vs_running"}})
-    c_completed, cr1 = minimal_new(common_attrs.merge({use_existing: false}))
-    c_running, cr2 = minimal_new(common_attrs.merge({use_existing: false}))
+    c_completed, _ = minimal_new(common_attrs.merge({use_existing: false}))
+    c_running, _ = minimal_new(common_attrs.merge({use_existing: false}))
     assert_not_equal c_completed.uuid, c_running.uuid
     set_user_from_auth :dispatch1
     c_completed.update_attributes!({state: Container::Locked})