Skip to content

Commit

Permalink
entry Keywords are a touch more railsy now
Browse files Browse the repository at this point in the history
  • Loading branch information
zspencer committed Jul 20, 2023
1 parent af1d8ea commit 290e8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/furniture/journal/entry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
expect(journal.keywords.where(canonical_keyword: "GoodTimes")).to exist
expect(journal.keywords.where(canonical_keyword: "HardCider")).to exist
expect(journal.keywords.where(canonical_keyword: "BadApples")).not_to exist
expect(entry.reload.keywords).to eq(["GoodTimes", "HardCider", "BadApple"])
expect(entry.reload.keywords).to contain_exactly(good_times, journal.keywords.find_by(canonical_keyword: "HardCider"), bad_apple)
end
end
end
Expand Down

0 comments on commit 290e8c5

Please sign in to comment.