Hey Everyone, I've got an open-source gem, and web app built around it, and I could really use some contributions from rspec-savvy people. It's all on GitHub, plus you can opt-in for a share of future revenue on Assembly.
- Gem: https://github.com/dogweather/rspec-webservice_matchers - Web app: https://github.com/asm-products/think-200 - Assembly project page: https://assembly.com/think-200 In a nutshell, the custom matchers enable rspec like this: require 'rspec/webservice_matchers' describe 'My app' do context 'www.myapp.com' do it { should be_up } it { should have_a_valid_cert } end it 'serves the "about" page without redirecting' do expect('http://www.myapp.com/about').to be_status 200 end it 'only serves via www' do expect('http://myapp.com').to redirect_permanently_to 'http://www.myapp.com/' end it 'forces visitors to use https' do expect('myapp.com').to enforce_https_everywhere end end -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/33c1bae4-e16f-49bc-bb67-963293ea63f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
