Sha256: 7b052ed659e6a3da940a567356ef938215dd80e4567613768cca80f4d54d744d

Contents?: true

Size: 245 Bytes

Versions: 6

Compression:

Stored size: 245 Bytes

Contents

describe UnderOs::Screen do

  describe '#size' do
    it "should return the size as a Point" do
      size = UnderOs::Screen.size
      size.class.should == UnderOs::Point
      size.x.should == 320
      size.y.should == 568
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
under-os-core-1.4.0 spec/under_os/screen_spec.rb
under-os-1.3.0 spec/lib/under_os/screen_spec.rb
under-os-1.2.1 spec/lib/under_os/screen_spec.rb
under-os-1.2.0 spec/lib/under_os/screen_spec.rb
under-os-1.1.0 spec/lib/under_os/screen_spec.rb
under-os-1.0.0 spec/lib/under_os/screen_spec.rb