Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept nil/boolean for 1st column #20

Merged
merged 1 commit into from
Feb 13, 2015

Conversation

ryonext
Copy link
Contributor

@ryonext ryonext commented Feb 13, 2015

In case of using RSpec::Parameterized::TableSyntax, I can't use nil / true / false for 1st column.
It occurs syntax error.

/Users/ryonext/dev/rspec-parameterized/lib/rspec/parameterized.rb:139:in `define_cases': undefined method `to_params' for true:TrueClass (NoMethodError)
    from /Users/ryonext/dev/rspec-parameterized/lib/rspec/parameterized.rb:74:in `with_them'

tomykaira added a commit that referenced this pull request Feb 13, 2015
Accept nil/boolean for 1st column
@tomykaira tomykaira merged commit b32e0ec into tomykaira:master Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants