spec/lucid/ast/tdl_walker_spec.rb in lucid-0.3.3 vs spec/lucid/ast/tdl_walker_spec.rb in lucid-0.4.0
- old
+ new
@@ -1,12 +1,12 @@
require 'spec_helper'
module Lucid::AST
-
- describe TDLWalker do
+
+ describe Walker do
let(:tdl_walker) do
- TDLWalker.new(nil, [double('listener', :before_visit_features => nil)])
+ Walker.new(nil, [double('listener', :before_visit_features => nil)])
end
let(:features) { double('features', :accept => nil) }
it 'should visit features' do
tdl_walker.should_not_receive(:warn)
@@ -15,7 +15,7 @@
it 'should return self' do
tdl_walker.visit_features(features).should == tdl_walker
end
end
-
-end
\ No newline at end of file
+
+end