bin / rails测试失败的依赖关系应该上下文1.2.2

时间:2018-07-19 13:07:01

标签: ruby-on-rails ruby-test

我是一个陌生的关于Rails项目的大红宝石,它是语言,框架和项目本身。因此,我决定运行的第一件事是:

Undefined function 'Add' for input arguments of type 'Interface.91493469_5A91_11CF_8700_00AA0060263B'.

如您所见,在$ bin/rails test Failure: validations#test_: validations should validate that :url is case-insensitively unique. [/home/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:346]: Source did not properly validate that :url is case-insensitively unique. After taking the given Source, whose :url is ‹"http://beahan.net/jaeden"›, and saving it as the existing record, then making a new Source and setting its :url to ‹"http://beahan.net/jaeden"› as well, the matcher expected the new Source to be invalid, but it was valid instead. bin/rails test /home/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/shoulda-context-1.2.2/lib/shoulda/context/context.rb:346 ...... Finished in 28.984682s, 11.0058 runs/s, 24.5647 assertions/s. 319 runs, 712 assertions, 1 failures, 0 errors, 0 skips 运行中,只有一个失败,如果我是对的,它不属于我的项目,而是一个依赖项:

319

假设这是执行我的项目测试的正确命令,为什么在项目代码库之外会出现故障?

0 个答案:

没有答案