Sha256: 74a2f02792cd55f948bde9342c50cbea67dc1ef78770618e38fbe92b2f6dbafb

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

require 'somadic'

# How many seconds to wait for things to happen.
def secs_to_wait
  7
end

# Generates a list of mplayer PIDs.
def pidlist
  processes = `ps -C mplayer -o pid,cmd | grep -v defunct`.split("\n")[1..-1]
  processes.map { |p| p.split[0].to_i }
end

RSpec.configure do |config|
  config.before(:suite) do
    puts "!!!"
    puts "!!! These tests should play music!"
    puts "!!!"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
somadic-0.0.4 spec/spec_helper.rb
somadic-0.0.3 spec/spec_helper.rb
somadic-0.0.2 spec/spec_helper.rb
somadic-0.0.1 spec/spec_helper.rb