spec/lib/magicka/element_spec.rb in magicka-0.2.0 vs spec/lib/magicka/element_spec.rb in magicka-0.2.1
- old
+ new
@@ -70,10 +70,10 @@
let(:expected_template) { 'templates/forms/input' }
before do
klass.template_folder(folder)
- method_builder.add_method(:name) { 'Magicka::Input' }
+ method_builder.add_class_method(:name) { 'Magicka::Input' }
method_builder.build
end
it do
element.render