Sha256: f1a47e2c7363881d19225e2b9df750c0c546d691001173f235de5b71d43487a5
Contents?: true
Size: 424 Bytes
Versions: 4
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' module Erb module Code describe '#erb_code' do context "valid ERB file" do it "should get only the ERB code from a valid ERB file" do debug = false # true erb_file = File.join(erb_fixtures_dir, 'view-file.erb') File.new(erb_file).erb_code.should match_lines %{for @item in @items\nhello :you\nhello :me} end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems