Sha256: 03f975556750f2a4b7abd2711ca6cca4dc66b4ca87138eb409a5f8deb000aedb
Contents?: true
Size: 327 Bytes
Versions: 7
Compression:
Stored size: 327 Bytes
Contents
describe Bind::Listener do def listener &action Bind::Listener.new :event => :change, :files => [File.dirname(__FILE__) + '/fixtures/style.css'], :interval => 1, :action => action, :timeout => 2 end it "should record total runtime" do l = listener {} l.run! l.run_time.to_i.should == 2 end end
Version data entries
7 entries across 7 versions & 1 rubygems