[rspec-users] I want RSpec for CSS layout.
Matt Wynne
matt at mattwynne.net
Wed Aug 20 04:51:14 EDT 2008
+1
cheers,
Matt
----
http://blog.mattwynne.net
http://songkick.com
In case you wondered: The opinions expressed in this email are my own
and do not necessarily reflect the views of any former, current or
future employers of mine.
On 20 Aug 2008, at 01:40, Jay Levitt wrote:
> 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]
> end
>
> it "should always be to the right" do
> dom[:left].should_be > body.dom[:right]
> end
>
> end
>
> And I want to be able to run it on Firefox, IE6, IE7, and Safari.
>
> Lazyweb... go.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list