gara 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ class HelloControllerTest < ActionController::TestCase
5
5
  get :show
6
6
  assert_response :success
7
7
  assert_match /Hi there/, @response.body
8
+ assert_match %Q(<link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet" />), @response.body
8
9
  end
9
10
 
10
11
  end
@@ -78,7 +78,7 @@ class HandlerTest < ActiveSupport::TestCase
78
78
 
79
79
  test "real document has doctype and newline" do
80
80
  @template = new_template("html { body { h1 \"hello\" } }")
81
- assert_equal with_doctype("<html><body><h1>hello</h1></body></html>\n"), render
81
+ assert_equal with_doctype("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <body>\n <h1>hello</h1>\n </body>\n</html>\n"), render
82
82
  end
83
83
 
84
84
  test "locals work" do
@@ -99,7 +99,6 @@ class HandlerTest < ActiveSupport::TestCase
99
99
 
100
100
  test "helpers returning html work in sequence within a block" do
101
101
  @template = new_template("li { link_helper ; link_helper } ")
102
- without_self = render
103
102
  assert_equal "<li>\n#{A_LINK}#{A_LINK}\n</li>", render
104
103
  end
105
104
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Talcott Smith