tests: fix unit tests.
* Move old post archive tests to post version tests. * Fix pool tests that assumed that multiple edits by the same user weren't merged. * Fix references to `is_active` and `notes` on artist model.
This commit is contained in:
@@ -37,8 +37,8 @@ class PoolVersionsControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
context "diff action" do
|
||||
should "render" do
|
||||
@post = create(:post)
|
||||
@pool = as (@user) { create(:pool) }
|
||||
@post = as(@user) { create(:post) }
|
||||
@pool = as(@user) { create(:pool) }
|
||||
as (@user) { @pool.update(name: "blah", description: "desc", post_ids: [@post.id]) }
|
||||
|
||||
get diff_pool_version_path(@pool.versions.last.id)
|
||||
|
||||
Reference in New Issue
Block a user