Permalink
Browse files

spec for previous fix

  • Loading branch information...
1 parent 05515a2 commit adff9762ba25d542de8e5da275a35a87395ea0f6 @slyphon slyphon committed May 9, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 spec/compatibilty_spec.rb
@@ -0,0 +1,8 @@
+require 'spec_helper'
+
+describe 'Compatibiliy layer' do
+ it %[should raise the correct error when a const is missing] do
+ lambda { Zookeeper::THISISANINVALIDCONST }.should raise_error(NameError)
+ end
+end
+

0 comments on commit adff976

Please sign in to comment.