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

Dan North tastapod at gmail.com
Fri Aug 29 14:39:56 EDT 2008


ooh, that would be lovely.

LayoutBehave anyone?


2008/8/20 Matt Wynne <matt at mattwynne.net>

> +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
>>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080829/04cc2b7a/attachment-0001.html>


More information about the rspec-users mailing list