From 080fbfae4d5ed4a0467ec2942caa7bb9c693396b Mon Sep 17 00:00:00 2001 From: Jeremy Voorhis Date: Sat, 1 Nov 2008 18:13:19 -0700 Subject: [PATCH] Specs should be slightly more verbose, for clarity. --- spec/env_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/env_spec.rb b/spec/env_spec.rb index 146068a..ba50971 100644 --- a/spec/env_spec.rb +++ b/spec/env_spec.rb @@ -2,10 +2,10 @@ describe Env do def cresc(factor, score) - grp(score, :velocity => env { |vel, ph| - multiplier = (factor - 1.0) * (1.0 + ph) - (vel * multiplier).to_i - }) + group(score, + :velocity => env { |velocity, phase| + multiplier = (factor - 1.0) * (1.0 + phase) + (velocity * multiplier).to_i }) end it "can be used to implement various transforms" do