It's really easy to assert the state of the DOM using jQuery's API, but it can be challenging to set up the same degree of specificity as tersely in your test setup. To that ends, I published jasmine-fixture years ago and we can walk through both how to use it and why it's superior to managing a set of shared view fixtures (or attempting to test against your app's actual views in unit tests)
It's really easy to assert the state of the DOM using jQuery's API, but it can be challenging to set up the same degree of specificity as tersely in your test setup. To that ends, I published jasmine-fixture years ago and we can walk through both how to use it and why it's superior to managing a set of shared view fixtures (or attempting to test against your app's actual views in unit tests)
https://github.com/searls/jasmine-fixture