Fix creepy RSpec-induced bug

This commit is contained in:
Eric Allen 2011-02-28 23:56:18 -08:00
parent 1947279c2a
commit cf5c12f39f

View file

@ -13,6 +13,10 @@ module Tracks
yield if @source_view.nil? && block_given?
end
def context
yield if :context == @source_view && block_given?
end
def method_missing(check_source_view,*args)
yield if check_source_view == @source_view && block_given?
end