diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 13:36:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-09 13:36:08 +0200 |
commit | 865a67bf6b4313bda71f7689acc1ccae088c7c77 (patch) | |
tree | 8e672cde3d1271eef159f83c6c23741d780e9ab5 /spec | |
parent | 0b120c62d266cc776b183119ab9a5dc602eabc51 (diff) | |
download | edoors-ruby-865a67bf6b4313bda71f7689acc1ccae088c7c77.zip edoors-ruby-865a67bf6b4313bda71f7689acc1ccae088c7c77.tar.gz |
debug -> debug_routing + debug_errors
Diffstat (limited to 'spec')
-rw-r--r-- | spec/evendoors_spec.rb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/spec/evendoors_spec.rb b/spec/evendoors_spec.rb index 6bde8f2..4923fd4 100644 --- a/spec/evendoors_spec.rb +++ b/spec/evendoors_spec.rb @@ -328,12 +328,19 @@ describe EvenDoors do describe EvenDoors::Space do # it "does really little for now" do - EvenDoors::Twirl.debug.should be false - space = EvenDoors::Space.new 'dom0', :debug=>true - EvenDoors::Twirl.debug.should be true + EvenDoors::Twirl.debug_routing.should be false + space = EvenDoors::Space.new 'dom0', :debug_routing=>true + EvenDoors::Twirl.debug_routing.should be true space.twirl! - EvenDoors::Twirl.debug = false - EvenDoors::Twirl.debug.should be false + EvenDoors::Twirl.debug_routing = false + EvenDoors::Twirl.debug_routing.should be false + # + EvenDoors::Twirl.debug_errors.should be false + space = EvenDoors::Space.new 'dom0', :debug_errors=>true + EvenDoors::Twirl.debug_errors.should be true + space.twirl! + EvenDoors::Twirl.debug_errors = false + EvenDoors::Twirl.debug_errors.should be false end # end |