From adff9762ba25d542de8e5da275a35a87395ea0f6 Mon Sep 17 00:00:00 2001 From: slyphon Date: Wed, 9 May 2012 04:25:18 +0000 Subject: [PATCH] spec for previous fix --- spec/compatibilty_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 spec/compatibilty_spec.rb diff --git a/spec/compatibilty_spec.rb b/spec/compatibilty_spec.rb new file mode 100644 index 0000000..68bcfce --- /dev/null +++ b/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 +