yeahrb / yeah

Ruby video game framework
MIT License
464 stars 26 forks source link

Spec failure in spec/desktop_spec.rb:66 #4

Closed adomokos closed 11 years ago

adomokos commented 11 years ago

When I run the specs I am getting this error:

Failures:

  1) Yeah::Desktop#render renders a Surface
     Failure/Error: instance.screen.get_at([0, 0]).should eq [255, 255, 0, 255]

       expected: [255, 255, 0, 255]
            got: [255, 255, 255, 255]

       (compared using ==)
     # ./spec/desktop_spec.rb:66:in `block (3 levels) in <top (required)>'
aostrega commented 11 years ago

Interesting. Is this consistent? What OS did you use?

adomokos commented 11 years ago

OS X 10.8.5. Ruby 2.0.0-p247

aostrega commented 11 years ago

Just remembered: one can use the rubygame gem (which Desktop currently depends on) without having its SDL dependencies.

It should pass after you follow this guide. A confirmation would be appreciated.

aostrega commented 11 years ago

Honestly, I'm 99% sure this is the cause, so don't worry about it.