diff --git a/spec/system_spec.rb b/spec/system_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/system_spec.rb
+++ b/spec/system_spec.rb
@@ -48,6 +48,12 @@ describe System do
 
         output.read.should_not be_empty
       end
+    else
+      it "should raise an exception when passing exec options" do
+        lambda {
+          subject.run(dir, '-l', :out => ['foo', 'w'])
+        }.should raise_error
+      end
     end
 
     unless (System.windows? && !System.jruby?)
Added a spec for when options are passed to System.run on Ruby <I>.x.