spec/unit/views/components/attributes_table_spec.rb in activeadmin-1.0.0 vs spec/unit/views/components/attributes_table_spec.rb in activeadmin-1.1.0
- old
+ new
@@ -233,10 +233,9 @@
end
end
end # describe rendering rows
end # with a collection
-
context "when using a single Hash" do
let(:table) do
render_arbre_component nil, helpers do
attributes_table_for foo: 1, bar: 2 do
row :foo