jimweirich / rspec-given

Given/When/Then keywords for RSpec Specifications
https://github.com/jimweirich/rspec-given
MIT License
653 stars 61 forks source link

Adding line extractor to s check #10

Closed adomokos closed 11 years ago

adomokos commented 11 years ago

I noticed the LineExtractor#to_s method is not verified in the spec. This pull request is trying to fix that.

I also noticed the typo in the spec file name.

jimweirich commented 11 years ago

I'm not overly concerned about the format of the to_s output, so I might loosen the spec a bit (e.g. just check it contains the name LineExtractor rather than check for an exact string match).

Thanks for the pull request.

adomokos commented 11 years ago

Thank you Jim for merging it in!