<commit_before><commit_msg>Added routing spec for images.<commit_after>require 'spec_helper'

describe ImagesController do
  describe 'routing' do

    it 'for index' do
      get('http://test.lvh.me/images').should route_to('images#index')
    end

    it 'for creation' do
      post('http://test.lvh.me/images').should route_to('images#create')
    end

    it 'for deletion' do
      delete('http://test.lvh.me/images/1').should route_to(
        'images#destroy', :id => '1')
    end

  end
end
{'fraction_non_alphanumeric': 0.14428857715430862, 'fraction_numerical': 0.004008016032064128, 'mean_word_length': 3.23728813559322, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4873958', 'n_tokens_mistral': 167, 'n_tokens_neox': 160, 'n_words': 38}