custom-macros

How to create contexts in shoulda macros

Asking this question again with smaller code sample: # this is a dummy shoulda macro that creates a context def self.macro_context context "macro" do yield end end # i am expecting this test to fail within the macro context context "some context" do macro_context do should "test" do fail ...

What is the easiest way to record a list of actions of the browser and replay them over and over?

I want to be able to go a specific webpage like:http://something.com then goto: "javascript:playsong();" then click on a button and after a specific amount of time do it again. If you also know how to make a javascript code be run on a page with a firefox plugiin or something that would help too. THankyou. ...