context icon indicating copy to clipboard operation
context copied to clipboard

character restrictions in context and test strings

Open djsun opened this issue 16 years ago • 0 comments

I tried writing a context like this:

context "get /sources [0 sources]" do
  ...
end

But I got an error:

NameError: wrong constant name TestGetSources[0Sources]9518620

So I had to rewrite using alphanumeric characters:

context "get /sources with 0 sources" do
  ...
end

This is at least worth a quick mention in the rdoc if nothing else.

And a shout out for this great gem!

djsun avatar Jul 15 '09 17:07 djsun