Skip to content

Commit

Permalink
update follow button tests to handle icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Oct 21, 2024
1 parent b4391b8 commit d0a5273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/components/follow_button_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
end

it "is labelled with the word Follow" do
expect(button).to include ">Follow"
expect(button).to include "Follow"
end

it "links to the create path for the target's follows resource" do # rubocop:todo RSpec/MultipleExpectations
Expand All @@ -42,7 +42,7 @@
end

it "is labelled with the word Unfollow" do
expect(button).to include ">Unfollow"
expect(button).to include "Unfollow"
end

it "links to the delete path for the target's follows resource" do # rubocop:todo RSpec/MultipleExpectations
Expand Down

0 comments on commit d0a5273

Please sign in to comment.