Myron Marston
2012-Mar-04 07:37 UTC
[rspec-users] Request for comments: additional new expectation syntax
I''ve opened a pull request with an initial implementation of using `expect` to set normal expectations in addition to block ones: expect(something).to be_awesome Note that it''s not simply the syntax change that''s driving the possibility of introducing this. It''s the fact that the `should` and `should_not` syntax has occasionally been prone to problems that the `expect` syntax would avoid entirely. It''d be great to get feedback from other RSpec users about this. Here''s the pull request: https://github.com/rspec/rspec-expectations/pull/119 Please leave comments there. I don''t often have time to keep up with the rspec mailing list so I likely won''t see comments here.