<commit_before>require 'spec_helper'
require "set"


describe "Garages" do
  describe "#index" do
    shared_examples_for "an authorized page" do
      it "returning status 200" do
        garage = FactoryGirl.create(:garage)
        get garages_path
        expect(response.status).to be(200)
      end
    end

    shared_examples_for "an unauthorized page" do
      it "returning status 302" do
        garage = FactoryGirl.create(:spanish_garage)<commit_msg>deleting useless variable assignment<commit_after>require 'spec_helper'
require "set"


describe "Garages" do
  describe "#index" do
    shared_examples_for "an authorized page" do
      it "returning status 200" do
        FactoryGirl.create(:garage)
        get garages_path
        expect(response.status).to be(200)
      end
    end

    shared_examples_for "an unauthorized page" do
      it "returning status 302" do
        FactoryGirl.create(:spanish_garage)
{'fraction_non_alphanumeric': 0.07534983853606028, 'fraction_numerical': 0.0193756727664155, 'mean_word_length': 3.1517857142857144, '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': '4527976', 'n_tokens_mistral': 302, 'n_tokens_neox': 268, 'n_words': 80}