Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[PLAY-395]-Fixed Hover State on Selectable List Rails Kit #2116

Merged
merged 2 commits into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SelectableListItem < Playbook::KitBase
default: {}

def classname
generate_classname("pb_selectable_list_item_kit")
generate_classname("pb_item_kit")
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

describe "#classname" do
it "returns namespaced class name", :aggregate_failures do
expect(subject.new({}).classname).to eq "pb_selectable_list_item_kit"
expect(subject.new(classname: "additional_class").classname).to eq "pb_selectable_list_item_kit additional_class"
expect(subject.new({}).classname).to eq "pb_item_kit"
expect(subject.new(classname: "additional_class").classname).to eq "pb_item_kit additional_class"
end
end
end