Looking for contributors for rspec custom matcher gem and app

14 views
Skip to first unread message

Robb Shecter

unread,
Jan 16, 2015, 1:25:25 PM1/16/15
to rs...@googlegroups.com
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.

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



Reply all
Reply to author
Forward
0 new messages