<commit_before># coding: utf-8
require 'rails_helper'

RSpec.describe API do
  describe 'GET /api/v1/login/' do
    before do
      get '/api/v1/login/'
    end

    it 'return 200 Redirect?' do
      expect(response.status).to eq(200)
    end
  end

  describe 'POST /api/v1/login/call_back/' do
    before do
      post '/api/v1/login/call_back/'
    end

    it 'return 200 OK?' do
      expect(response).to be_success
      expect(response.status).to eq(200)
    end
  end<commit_msg>Fix api spec<commit_after># coding: utf-8
require 'rails_helper'

RSpec.describe API do
  describe 'GET /api/v1/login/' do
    before do
      post '/api/v1/login/'
    end

    it 'return 400? Bad Request' do
      expect(response.status).to eq(400)
    end
  end

  describe 'POST /api/v1/login/call_back/' do
    before do
      post '/api/v1/login/call_back/'
    end

    it 'return 200 OK?' do
      expect(response).to be_success
      expect(response.status).to eq(200)
    end
  end
{'fraction_non_alphanumeric': 0.11440245148110317, 'fraction_numerical': 0.03472931562819203, 'mean_word_length': 2.356164383561644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '88149', 'n_tokens_mistral': 370, 'n_tokens_neox': 339, 'n_words': 94}