We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c9e5a3 commit d32a7e7Copy full SHA for d32a7e7
1 file changed
spec/react/dsl_spec.rb
@@ -109,11 +109,15 @@ def render
109
Foo.class_eval do
110
include React::Component
111
def render
112
- table { tr { "hello".td } }
+ table {
113
+ tbody {
114
+ tr { "hello".td }
115
+ }
116
117
end
118
119
- expect(Foo).to render_static_html('<table><tr><td>hello</td></tr></table>')
120
+ expect(Foo).to render_static_html('<table><tbody><tr><td>hello</td></tr></tbody></table>')
121
122
123
it "has a .para short hand String method" do
0 commit comments