Sha256: 3802ccc4ecaa7085984b6050bb05cd587367291058f02339a8e11a9d6293c5a6

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 Bytes

Contents

require 'spec_helper'
require 'html_specs'
require 'erb_specs'

describe Fira do
  specs = %w{
    simple multi_line nested_single_line nested_multi_line two_classes
    inside_text inside_quotes html_comments data_attribute_simple
    data_attribute_multiple erb erb_in_tag multiline_opening_tag
  }

  specs.each do |method_name|
    it "#{method_name}" do
      result = Fira.render(send(method_name))
      res_name = "res_#{method_name}"
      result.should == send(res_name).gsub( /\s+/, " " )
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fira-0.6.2 spec/fira_spec.rb