require 'spec_helper' describe OmniAuth::Strategies::Developer do let(:app){ Rack::Builder.new do |b| b.use Rack::Session::Cookie b.use OmniAuth::Strategies::Developer b.run lambda{|env| [200, {}, ['Not Found']]} end.to_app } context 'request phase' do before(:each){ get '/auth/developer' } it 'should display a form' do last_response.status.should == 200 last_response.body.should be_include("