Skip to content

Commit

Permalink
Improve a test by showing better sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Oct 30, 2018
1 parent 2a23401 commit 5bba251
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 5bba251

Please sign in to comment.