<commit_before>require "rails_helper"
require "sass/rails"

describe Voltron::Svg do

  include Voltron::Svg::ViewHelpers

  include Voltron::Svg::SassHelpers

  it "has a version number" do
    expect(Voltron::Svg::VERSION).not_to be nil
  end

  it "should generate an img tag for given svg" do
    expect(svg_tag(:airplane)).to match(/^<img.*/i)
  end

  it "should output background css for svg fallback" do
    expect(svg_icon(:airplane)).to_not be_blank
    svg_icon(Sass::Script::Value::String.new("tree3"))
  end

end<commit_msg>Removes legacy debugging<commit_after>require "rails_helper"
require "sass/rails"

describe Voltron::Svg do

  include Voltron::Svg::ViewHelpers

  include Voltron::Svg::SassHelpers

  it "has a version number" do
    expect(Voltron::Svg::VERSION).not_to be nil
  end

  it "should generate an img tag for given svg" do
    expect(svg_tag(:airplane)).to match(/^<img.*/i)
  end

  it "should output background css for svg fallback" do
    expect(svg_icon(:airplane)).to_not be_blank
  end

end
{'fraction_non_alphanumeric': 0.11165048543689321, 'fraction_numerical': 0.000970873786407767, 'mean_word_length': 4.572972972972973, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1746791', 'n_tokens_mistral': 372, 'n_tokens_neox': 349, 'n_words': 96}