spec/unit/arbre/html_spec.rb in activeadmin-0.2.2 vs spec/unit/arbre/html_spec.rb in activeadmin-0.3.0
- old
+ new
@@ -1,10 +1,9 @@
require 'spec_helper'
-describe Arbre::HTML do
- include Arbre::HTML
+describe Arbre do
- let(:assigns){ {} }
+ setup_arbre_context!
it "should render a single element" do
content = span("Hello World")
content.to_html.should == <<-HTML
<span>Hello World</span>