Explorar o código

Simplify manual binary exception test construction

Daniel Gempesaw %!s(int64=10) %!d(string=hai) anos
pai
achega
19bf7baee4
Modificáronse 1 ficheiros con 1 adicións e 8 borrados
  1. 1 8
      t/CanStartBinary.t

+ 1 - 8
t/CanStartBinary.t

@@ -32,14 +32,7 @@ PHANTOMJS: {
 }
 
 MANUAL: {
-    package BadBinary {
-        use Moo;
-        with 'Selenium::CanStartBinary';
-        has 'binary' => ( is => 'ro' );
-        1
-    };
-
-    ok( exception { BadBinary->new( binary => '/not/executable') },
+    ok( exception { PhantomJS->new( binary => '/bad/executable') },
         'we throw if the user specified binary is not executable');
 
   SKIP: {