require 'helper' describe OmniAuth::Strategies::Developer do let(:app) do Rack::Builder.new do |b| b.use Rack::Session::Cookie, :secret => 'abc123' b.use OmniAuth::Strategies::Developer b.run lambda { |_env| [200, {}, ['Not Found']] } end.to_app end context 'request phase' do before(:each) { post '/auth/developer' } it 'displays a form' do expect(last_response.status).to eq(200) expect(last_response.body).to be_include('