Shindo.tests('Excon request methods') do

  with_rackup('request_methods.ru') do

    tests 'one-offs' do

      tests('Excon.get').returns('GET') do
        Excon.get('http://localhost:9292').body
      end

      tests('Excon.post').returns('POST') do
        Excon.post('http://localhost:9292').body
      end

      tests('Excon.delete').returns('DELETE') do
        Excon.delete('http://localhost:9292').body
      end

    end

    tests 'with a connection object' do

      connection = Excon.new('http://localhost:9292')

      tests('connection.get').returns('GET') do
        connection.get.body
      end

      tests('connection.post').returns('POST') do
        connection.post.body
      end

      tests('connetion.delete').returns('DELETE') do
        Excon.delete('http://localhost:9292').body
      end

    end

  end

end

Shindo.tests('Excon request methods') do

  with_rackup('request_methods.ru') do

    tests 'one-offs' do

      tests('Excon.get').returns('GET') do
        Excon.get('http://localhost:9292').body
      end

      tests('Excon.post').returns('POST') do
        Excon.post('http://localhost:9292').body
      end

      tests('Excon.delete').returns('DELETE') do
        Excon.delete('http://localhost:9292').body
      end

    end

    tests 'with a connection object' do

      connection = Excon.new('http://localhost:9292')

      tests('connection.get').returns('GET') do
        connection.get.body
      end

      tests('connection.post').returns('POST') do
        connection.post.body
      end

      tests('connetion.delete').returns('DELETE') do
        connection.delete.body
      end

    end

  end

end

Use the right method for this test.
Use the right method for this test.
