Skip to content

Commit

Permalink
Ditch some expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
zspencer committed Jul 13, 2023
1 parent cf7d708 commit e3fd349
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/furniture/journal/entry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
describe "#to_html" do
subject(:to_html) { entry.to_html }

context "when #body is 'https://www.google.com @[email protected] #GoodTimes'" do
let(:entry) { build(:journal_entry, body: "https://www.google.com @[email protected] #GoodTimes") }
context "when #body is 'https://www.google.com @[email protected]'" do
let(:entry) { build(:journal_entry, body: "https://www.google.com @[email protected]") }

it { is_expected.to include('<a href="https://www.google.com">https://www.google.com</a>') }
# it { is_expected.to include('<a href="../terms/GoodTimes">#GoodTimes</a>') }
end
end

Expand Down

0 comments on commit e3fd349

Please sign in to comment.