require "spec_helper" describe "Element#to_s" do html <<-HTML
HTML it "returns a string representation of the elements" do Element.find('#foo').to_s.should == '