On Jul 6, 2010, at 1:35 PM, Guilherme wrote:
> Hi,
>
> How can I test this method using rspec ?
>
> def self.generate_calculation number1, number2, operation
> number1 = rand(number1)
> number2 = rand(number2)
> ...
> end
>
> This method return an operation with those random numb
Hi,
How can I test this method using rspec ?
def self.generate_calculation number1, number2, operation
number1 = rand(number1)
number2 = rand(number2)
...
end
This method return an operation with those random numbers.
Any tip ?
___
r