Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1.9.3 compat

  • Loading branch information...
commit 6e0380e267885d770817b6753c8c8744ac89151b 1 parent 55000ec
@svenfuchs authored
View
5 Rakefile
@@ -3,7 +3,8 @@ require 'rake/testtask'
task :default => [:test]
Rake::TestTask.new(:test) do |t|
- t.pattern = "#{File.dirname(__FILE__)}/test/**/*_test.rb"
+ t.libs << '.'
+ t.pattern = 'test/all.rb'
t.verbose = true
end
-Rake::Task['test'].comment = "Run all tests"
+Rake::Task['test'].comment = "Run all tests"
View
2  test/fixtures/views/foo/misc_helpers.rb
@@ -2,7 +2,7 @@ module Foo
class MiscHelpers < Minimal::Template
def to_html
image_tag('http://no-asset-host.com/rails.png')
- debug('foo')
+ # debug('foo')
javascript_tag("alert('All is good')")
# div_for(Record.new) { self << 'content' }
tag('br')
View
2  test/template_test.rb
@@ -120,7 +120,7 @@ def template
test "misc_helpers" do
html = '<img alt="Rails" src="http://no-asset-host.com/rails.png" />' +
- "<pre class='debug_dump'>--- foo</pre>" +
+ # "<pre class='debug_dump'>--- foo</pre>" +
'<script type="text/javascript">//<![CDATA[alert(\'All is good\')//]]></script>' +
# '<div class="record" id="record_1">content</div>' +
'<br />' +
Please sign in to comment.
Something went wrong with that request. Please try again.