I'm just writing some algorithm methods that I don't want to put in a class. So I just put them in my ruby file. But I cant figure out how to write test or more specifically use describe :xxx since I dont' have a class name to put after the main describe. Any ideas?
You can put any string after the describe statement:
describe "Something You Want To Test" do
# Your specs here
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With