[rspec-users] I want RSpec for CSS layout.

Jay Levitt lists-rspec at shopwatch.org
Tue Aug 19 20:40:02 EDT 2008

I don't even know how it'd be possible (through Selenium?), but I want it. 
I want to see if my stupid CSS hacks break.  I want to say:

describe "#nav-column" do
   body = something("#body-column")

   it "should line up at the top" do
     dom[:top].should_be == body.dom[:top]

   it "should always be to the right" do
     dom[:left].should_be > body.dom[:right]


And I want to be able to run it on Firefox, IE6, IE7, and Safari.

Lazyweb... go.

More information about the rspec-users mailing list