spec/template_vars_spec.rb in heel-3.2.1 vs spec/template_vars_spec.rb in heel-4.0.0
- old
+ new
@@ -7,16 +7,16 @@
end
it "exposes all its data members in a binding" do
t = Heel::TemplateVars.new( :foo => 'foo', :bar => 'bar' )
s = @template.result( t.binding_for_template )
- s.must_equal( "foo && bar")
+ _(s).must_equal( "foo && bar")
end
it "data members may be added after instantiation" do
t = Heel::TemplateVars.new
t.foo = 'foo'
t.bar = 'bar'
s = @template.result( t.binding_for_template )
- s.must_equal( "foo && bar")
+ _(s).must_equal( "foo && bar")
end
end