Failure/Error: expect(@link.url_address =~ /abc/).to be_true
expected to respond to `true?`
我也试过了
expect(@link.url_address).to =~ /abc/
但我明白
Failure/Error: expect(@link.url_address).to =~ /abc/
ArgumentError:
The expect syntax does not support operator matchers, so you must pass a matcher to `#to`.