Sha256: f0cdfca6408a24b4dcc7cd518b4427a0f81ca8b0bfab2d74e9eabc00056526d5
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Ray::Joystick do describe ".handle_event" do before :all do Ray.init end it "can be changed" do Ray::Joystick.handle_event = true Ray::Joystick.handle_event.should be_true Ray::Joystick.handle_event = false Ray::Joystick.handle_event.should be_false end after :all do Ray.init end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ray-0.0.1 | spec/ray/joystick_spec.rb |