spec/markaby/rails_spec.rb in markaby-0.9.0 vs spec/markaby/rails_spec.rb in markaby-0.9.1
- old
+ new
@@ -21,9 +21,9 @@
Markaby::Rails::TemplateHandler.register!
ActionView::Template.template_handlers[:mab].should be_a_kind_of(Markaby::Rails::TemplateHandler)
end
it "should be able to pass options" do
- Markaby::Rails::TemplateHandler.register!(:indent => 2)
+ Markaby::Rails::TemplateHandler.register!(indent: 2)
Markaby::Rails::TemplateHandler.options[:indent].should == 2
end
end