You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.
Not sure if this was a regression that got fixed or what, but we need to add a test case like this:
it "will preserve boolean values correctly" do
stub_const 'Foo', Class.new(React::Component::Base)
Foo.class_eval do
param :foo
def render
foo = params.foo
if foo && true
"fail"
else
"succeed"
end
end
end
expect(Foo).to render_static_html('<span>succeed</span>').with_params(foo: false)
end
The text was updated successfully, but these errors were encountered:
Not sure if this was a regression that got fixed or what, but we need to add a test case like this:
The text was updated successfully, but these errors were encountered: