Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用新的期望语法:
expect(@line.filter_results_and_display_them).to == @processed
收到此错误:
ArgumentError:期望语法不支持运算符匹配器,因此您必须将匹配器传递给“#to”
此语法有效:
expect(@line.filter_results_and_display_them).to eq @processed