From: Michael Orlitzky Date: Fri, 30 Oct 2015 00:56:50 +0000 (-0400) Subject: Disable domain moves in the dummy MvRunner. X-Git-Tag: 0.0.1~53 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=commitdiff_plain;h=8610295a5340a82a6c95f68fe983fe0ce5a2e382 Disable domain moves in the dummy MvRunner. --- diff --git a/lib/mv/mv_dummy_runner.rb b/lib/mv/mv_dummy_runner.rb index ff612ff..11f2ff5 100644 --- a/lib/mv/mv_dummy_runner.rb +++ b/lib/mv/mv_dummy_runner.rb @@ -7,7 +7,7 @@ class MvDummyRunner if src.include?('@') then puts "Would move user: #{src} to #{dst}" else - puts "Would move domain: #{src} to #{dst}" + raise NotImplementedError.new('Only users can be moved.') end end