Skip to content

Commit

Permalink
Merge pull request #1997 from projectblacklight/improve_test
Browse files Browse the repository at this point in the history
Improve a test by showing better sample data
  • Loading branch information
jcoyne committed Nov 1, 2018
2 parents e0dbc22 + 5bba251 commit a0c6247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers/blacklight/url_helper_behavior_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
end

it "accepts and returns a string label" do
expect(helper.link_to_document(document, String.new('title_tsim'))).to have_selector("a", text: 'title_tsim', count: 1)
expect(helper.link_to_document(document, 'This is the title')).to have_selector("a", text: 'This is the title', count: 1)
end

it "accepts and returns a Proc" do
Expand Down

0 comments on commit a0c6247

Please sign in to comment.