Sha256: 20d7f81c151bc5f36e2a7da3b08c0d4471a1b7a2006f4ddf90860815f5cda20a
Contents?: true
Size: 335 Bytes
Versions: 9
Compression:
Stored size: 335 Bytes
Contents
require_relative '../lib/rails_view.rb' require_relative '../test/testing.rb' Testing View do testing 'simple rendering' do time = Time.now html_safe_string = assert do View.render(:inline => "<%= time %>", :locals => {:time => time}) end assert{ html_safe_string.include?(time.to_s) } end end
Version data entries
9 entries across 9 versions & 1 rubygems