     end
     """
     |> to_source_file
-    |> assert_issue(@described_check)
+    |> run_check(@described_check)
+    |> assert_issue()
   end
 
   test "it should report a violation 5" do

    end
    """
    |> to_source_file
    |> assert_issue(@described_check)
  end

  test "it should report a violation 2" do

    end
    """
    |> to_source_file
    |> run_check(@described_check)
    |> assert_issue()
  end

  test "it should report a violation 6" do
