From 2d0ff135846363e2baf00d43049b4e9fc4e70c47 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 16 Mar 2012 19:03:58 +0100 Subject: Whitespace cleanup --- lib/bacon.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/bacon.rb b/lib/bacon.rb index 45d4bf8..abd52c1 100644 --- a/lib/bacon.rb +++ b/lib/bacon.rb @@ -132,13 +132,13 @@ module Bacon class Context attr_reader :name, :block - + def initialize(name, &block) @name = name @before, @after = [], [] @block = block end - + def run return unless name =~ RestrictContext Counter[:context_depth] += 1 @@ -160,7 +160,7 @@ module Bacon Counter[:specifications] += 1 run_requirement description, block end - + def should(*args, &block) if Counter[:depth]==0 it('should '+args.first,&block) -- cgit 1.4.1