Commit a4577cb5 authored by Reuben Pereira's avatar Reuben Pereira

Correct the "includes a data-project attribute" test in project_reference_filter_spec

parent c0dfaf98
...@@ -68,7 +68,7 @@ describe Banzai::Filter::ProjectReferenceFilter do ...@@ -68,7 +68,7 @@ describe Banzai::Filter::ProjectReferenceFilter do
link = doc.css('a').first link = doc.css('a').first
expect(link).to have_attribute('data-project') expect(link).to have_attribute('data-project')
expect(link.attr('data-project')).to eq project.namespace.owner_id.to_s expect(link.attr('data-project')).to eq project.id.to_s
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment