-
Notifications
You must be signed in to change notification settings - Fork 8
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
RSpec::Hanami::RequestHelpers doesn't exist? #9
Comments
Hey, thanks for the report 👍 Could you create empty hanami app and try to reproduce this error? Thanks! |
Yes - I get the same error in a new Hanami app instance. $ hanami new foo --test=rspec
$ cd foo
$ echo "gem 'rspec-hanami', group: :test" >> Gemfile
$ bundle # spec/spec_helper.rb
require 'rspec/hanami'
RSpec.configure do |config|
config.include RSpec::Hanami::Matchers
config.include RSpec::Hanami::RequestHelpers
end $ rspec Output:
|
The Hope that helps? |
@vladiim It because RequestHelpers do not release yet. @davydovanton mb this feature should be released in 0.3.0 ? |
@artofhuman I think yes, 0.3.0 good place for this feature 👍 |
After including
RequestHelpers
alaconfig.include RSpec::Hanami::RequestHelpers
I getnoMethodError: undefined method
post'`When reviewing the source code I can't see
RSpec::Hanami::RequestHelpers
anywhere. Am I missing something here?The text was updated successfully, but these errors were encountered: