spec/reg_spec.rb in Active-0.0.31 vs spec/reg_spec.rb in Active-0.0.32
- old
+ new
@@ -161,10 +161,13 @@
r.content.should be_an_instance_of(Array)
r.content[0][:title].should eql("Event Flyer")
r.content[0][:content].should eql("<a href=http://www.eteamz.com/activeactive1/files/0913halloweenentryv5-new.pdf> Click Here to View Event Flyer</a>")
end
-
+ it "should have an event_image_url" do
+ r = RegCenter.find_by_id("1917437")
+ r.event_image_url.should eql("http://www.active.com/images/upimages/2642.gif")
+ end
end