https://relishapp.com/rspec/rspec-core/v/3-1/docs/pending-an...
Spec-me-maybe: Introduces the “maybe” syntax to RSpec
11–20 of 42 posts
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#12This has to be a joke. I'm fond of TDD just as much as the next person, but seriously, some of you RSpec fanatics have lost your minds.
After some inspection, maybe it passes for a joke.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#13[1] http://blogs.msdn.com/b/ie/archive/2011/09/11/asynchronous-p...
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#14Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#15Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#16The epitome of programming in Ruby.
Oh for goodness sake. It's a joke.
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#17 it 'probably should not raise any sort of error' do
maybe { user }.will_not raise_error
end
I snorted on that one.Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#18Earlier quoted context omitted.
Oh for goodness sake. It's a joke.
http://api.rubyonrails.org/classes/ActiveSupport/HashWithInd...
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#19This may be a joke, but there are valid scenarios for this sort of thing, which is why rspec has pending and skipped tests: https://relishapp.com/rspec/rspec-core/v/3-1/docs/pending-an...
Re: Spec-me-maybe: Introduces the “maybe” syntax to RSpec
#20This has to be a joke. I'm fond of TDD just as much as the next person, but seriously, some of you RSpec fanatics have lost your minds.