yujinakayama / transpec

The RSpec syntax converter
http://yujinakayama.me/transpec/
MIT License
1.01k stars 52 forks source link

Failed conversion of should have(:no) #107

Closed nevans closed 9 years ago

nevans commented 9 years ago
- subject.should have(:no).foos
+ expect(subject.foos.size).to eq(:no)

The correct conversion would have been eq(0)

yujinakayama commented 9 years ago

Thanks for the report. It's fixed in Transpec 3.1.1.