Houdini/two_factor_authentication

Run tests

baarkerlounger opened this issue · 0 comments

$ bundle exec rspec

An error occurred while loading ./spec/controllers/two_factor_authentication_controller_spec.rb.
Failure/Error: Dummy::Application.initialize!

ArgumentError:
  wrong number of arguments (given 3, expected 2)
# ./spec/rails_app/config/environment.rb:5:in `<top (required)>'
# ./spec/spec_helper.rb:2:in `require'
# ./spec/spec_helper.rb:2:in `<top (required)>'
# ./spec/controllers/two_factor_authentication_controller_spec.rb:1:in `require'
# ./spec/controllers/two_factor_authentication_controller_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/features/two_factor_authenticatable_spec.rb.
Failure/Error: Dummy::Application.initialize!

NoMethodError:
  undefined method `operations' for #<ActionDispatch::MiddlewareStack:0x000055988f9418f8 @middlewares=[Rack::Sendfile, ActionDispatch::Static, ActionDispatch::Executor, ActiveSupport::Cache::Strategy::LocalCache::Middleware, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, ActionDispatch::RemoteIp, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::Callbacks, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ContentSecurityPolicy::Middleware, Rack::Head, Rack::ConditionalGet, Rack::ETag, Rack::TempfileReaper, Warden::Manager, RackSessionAccess::Middleware]>
# ./spec/rails_app/config/environment.rb:5:in `<top (required)>'
# ./spec/spec_helper.rb:2:in `<top (required)>'
# ./spec/features/two_factor_authenticatable_spec.rb:1:in `<top (required)>'

Presumably rails version. Is anyone successfully able to run the tests?