Sha256: 46a62d710f9bf9032dcfdde1df1706af7ac36a98ea8616590482477fba871499

Contents?: true

Size: 747 Bytes

Versions: 9

Compression:

Stored size: 747 Bytes

Contents

require File.dirname(__FILE__) + '/common'
require_relative '../lib/blanker.rb'

describe Blanker do
  
  it "should be able to blank then unblank" do
    Blanker.blank_full_screen!
    sleep 3
    Blanker.unblank_full_screen!
  end
  
  it "should be able to blank several times" do
    3.times {
      Blanker.blank_full_screen!
      Blanker.unblank_full_screen!
    }
  end
  
  it "should be able to unblank several times I suppose" do
    3.times {
      Blanker.unblank_full_screen!
    }
  end
  
  describe "future work", :pending => true do
    
    it "should be able to blank certain coords"
    
    it "should have a color optionally"
    
    it "should have a picture optionally"
    
  end
  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sensible-cinema-0.7.7 spec/blanker.spec.rb
sensible-cinema-0.7.5 spec/blanker.spec.rb
sensible-cinema-0.7.4 spec/blanker.spec.rb
sensible-cinema-0.7.3 spec/blanker.spec.rb
sensible-cinema-0.7.2 spec/blanker.spec.rb
sensible-cinema-0.7.1 spec/blanker.spec.rb
sensible-cinema-0.7.0 spec/spec.blanker.rb
sensible-cinema-0.6.1 spec/spec.blanker.rb
sensible-cinema-0.6.0 spec/spec.blanker.rb