当前分类:rspec3

ruby-on-rails-4 - Rspec Controller 使用链接方法调用进行测试

rspec-rails - 从 rspec-rails 2.x 迁移到 3.x 后出现错误

ruby-on-rails - 使用 rspec3 测试 has_many 和 shoulda-matchers

ruby - RSpec3 模拟参数期望 - 使用 &block?

ruby - 比较 RSpec 中 REXML 元素的名称/属性相等性

rspec - 使用 RSpec 构建 CSV 数据驱动测试的基本简单方法?

ruby-on-rails - 升级到 RSpec 3 并遵循弃用通知会导致 "undefined method ' 允许'"

ruby-on-rails - RSpec 测试销毁 Controller 操作会引发错误:ActionView::MissingTemplate

ruby-on-rails - 使用 RSpec 3 在 block 之前运行一次

ruby - 如何检查在另一个方法 rspec 中调用的方法的返回值?

ruby-on-rails-4 - ActionController::TestResponse 不响应方法 has_selector?

ruby - 强制 RSpec 3 显示单行字符串的差异?

ruby-on-rails - 具有多个断言的 RSpec 单元测试

rspec - 在 RSpec 中使用 'they' 而不是 'it'

ruby - 两个几乎相同的规范;一位通过,一位失败

ruby-on-rails - Ruby:如何将模块中的方法包含到 ActiveModel::Serializer 的子类中

ruby-on-rails - 使用 RSpec 测试模型时出现错误 "undefined method ` <' for nil:NilClass"。

ruby - 使用 Rspec 共享示例来测试 Ruby 类的属性

ruby-on-rails - Rspec 3. #<RSpec::ExampleGroups::ConfigsAPI::GETApiConfig:0x007f84d93fbb90> 的未定义局部变量或方法 `response'

rspec - 为什么 rspec 3 失败并出现错误 : only `receive_messages` matchers are supported?

热门标签: