actionview-component 1.14.0 → 1.14.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 204fb8e9a51fffd39203ff08885333086008e513a8855b36ddbe38a8e42b72ec
|
4
|
+
data.tar.gz: e78a99c00889e3516552f4aa1c833be10704c32225ddcd78b713bfbae78d534c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99efaec329aeb3b4ec886eb533ebf73ec28e33931ed65e9fba80111d0403d4703a82616ac1c40bdfdf0708ee8bb60aa5dcabc9218ca0aedd8c74fb60a2ca25a8
|
7
|
+
data.tar.gz: 5b85c936cd7daacdf2ab71e96005444a22de2c6ff5af2d07ba412f2a6b28d5f4c828c2a9b92b84adb08816eef10492fa7a82c0c00299415a442b2f68cd7bb4da
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -5,7 +5,7 @@ RSpec.describe <%= class_name %>Component, type: :component do
|
|
5
5
|
|
6
6
|
# it "renders something useful" do
|
7
7
|
# expect(
|
8
|
-
# render_inline(described_class
|
8
|
+
# render_inline(described_class.new(attr: "value")) { "Hello, components!" }.css("p").to_html
|
9
9
|
# ).to include(
|
10
10
|
# "Hello, components!"
|
11
11
|
# )
|
@@ -4,7 +4,7 @@ class <%= class_name %>ComponentTest < ViewComponent::TestCase
|
|
4
4
|
test "component renders something useful" do
|
5
5
|
# assert_equal(
|
6
6
|
# %(<span title="my title">Hello, components!</span>),
|
7
|
-
# render_inline(<%= class_name %>Component
|
7
|
+
# render_inline(<%= class_name %>Component.new(attr: "value")) { "Hello, components!" }.css("span").to_html
|
8
8
|
# )
|
9
9
|
end
|
10
10
|
end
|