Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 未初始化常量RSpec::Matchers::Composable_Ruby On Rails_Ruby_Rspec_Rspec Rails - Fatal编程技术网

Ruby on rails 未初始化常量RSpec::Matchers::Composable

Ruby on rails 未初始化常量RSpec::Matchers::Composable,ruby-on-rails,ruby,rspec,rspec-rails,Ruby On Rails,Ruby,Rspec,Rspec Rails,我在运行测试用例时遇到了一个问题,该测试用例显示”:加载了这么多内容后,未初始化常量RSpec::Matchers::Composable(namererror)。请帮助 提前谢谢 这可能会有帮助:您是否在rails\u helper.rb中包含了config.include(Capybara::Webkit::RspecMatchers,:type=>:feature)?

我在运行测试用例时遇到了一个问题,该测试用例显示
”:加载了这么多内容后,未初始化常量RSpec::Matchers::Composable(namererror)
。请帮助


提前谢谢

这可能会有帮助:您是否在rails\u helper.rb中包含了config.include(Capybara::Webkit::RspecMatchers,:type=>:feature)?