diff --git a/spec/datagrid/form_builder_spec.rb b/spec/datagrid/form_builder_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/datagrid/form_builder_spec.rb
+++ b/spec/datagrid/form_builder_spec.rb
@@ -457,5 +457,10 @@ describe Datagrid::FormBuilder do
         '<label class="foo" for="report_name">Name</label>'
       )
     end
+    it "should support block" do
+      view.datagrid_label(:name, :class => 'foo') { 'The Name' }.should equal_to_dom(
+        '<label class="foo" for="report_name">The Name</label>'
+      )
+    end
   end
 end
Test case for datagrid_label with block