Software Development
Pages
(Move to ...)
Home
About
Contact
▼
Tuesday, November 24, 2015
`class_exec': no block given (LocalJumpError)
This happens in Rspec if you miss the it() method. For example:
describe Car
expect(Car.speed).to eq(0)
end
The error message is not beginner friendly and can be improved.
‹
›
Home
View web version