Skip to content

character restrictions in context and test strings #1

@djsun

Description

@djsun

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions