Skip to content

Instantly share code, notes, and snippets.

View brapse's full-sized avatar

Sean Braithwaite brapse

View GitHub Profile
require File.join( File.dirname(__FILE__), "..", "spec_helper" )
describe FauxQuery do
it 'Determin the model being tested' do
#Simple case
a = FauxQuery.new("Bands in montreal")
a.query_model.should == Band
#quotted case
/* Set of controls for creating the composition */
s.boot;
s.freqscope;
Synth.new(\chelled, [\freq, 200, \duration, 1]);
Synth.new(\chord, [\freq, 920, \fm, 480]);
Synth.new(\ground, [\freq, (200..2000).choose]);
Synth.new(\ground, [\freq, 1500]);
//Chelled
/* Set of controls for creating the composition */
s.boot;
s.freqscope;
Synth.new(\chelled, [\freq, 200, \duration, 1]);
Synth.new(\chord, [\freq, 920, \fm, 480]);
Synth.new(\ground, [\freq, (200..2000).choose]);
Synth.new(\ground, [\freq, 1500]);
//Chelled