Skip to content

Commit

Permalink
Correct spec for new classname
Browse files Browse the repository at this point in the history
This is a React component, so both pb_phone_number_input and pb_phone_number_input_rails are present
  • Loading branch information
kangaree committed Oct 18, 2024
1 parent 9b3aafa commit ed81d62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

describe "#classname" do
it "returns namespaced class name", :aggregate_failures do
classname = "pb_phone_number_input"
classname = "pb_phone_number_input_rails"
expect(subject.new({}).classname).to eq classname
expect(subject.new(classname: "additional_class").classname).to eq "#{classname} additional_class"
end
Expand Down

0 comments on commit ed81d62

Please sign in to comment.