Sha256: cb99195ca121ddaca9a37ed85a4cb147639337b91def49bb28bebf375c67644a
Contents?: true
Size: 474 Bytes
Versions: 7
Compression:
Stored size: 474 Bytes
Contents
RSpec.configure do |config| config.before(:all) do on_client do class TestComponent < React::Component::Base param scope: :all render(:div) do div { "#{TestModel.send(params.scope).count} items" } ul { TestModel.send(params.scope).each { |model| li { model.test_attribute }}} end end class TestComponent2 < React::Component::Base render do "hello" end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems