Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Dec 18, 2017
1 parent 6555d6d commit 3180315
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/lib/code_corps_web/views/task_list_view_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule CodeCorpsWeb.TaskListViewTest do
use CodeCorpsWeb.ViewCase

test "renders all attributes and relationships properly" do
user = insert(:user, default_color: "blue")
user = insert(:user, first_name: "First", last_name: "Last", default_color: "blue")
host = Application.get_env(:code_corps, :asset_host)
project = insert(:project)
task_list = insert(:task_list, order: 1000, project: project)
Expand Down Expand Up @@ -88,13 +88,13 @@ defmodule CodeCorpsWeb.TaskListViewTest do
"biography" => user.biography,
"cloudinary-public-id" => nil,
"email" => "",
"first-name" => "First0",
"first-name" => user.first_name,
"github-avatar-url" => nil,
"github-id" => nil,
"github-username" => nil,
"inserted-at" => user.inserted_at,
"last-name" => nil,
"name" => "First0",
"last-name" => user.last_name,
"name" => "First Last",
"photo-large-url" => "#{host}/icons/user_default_large_blue.png",
"photo-thumb-url" => "#{host}/icons/user_default_thumb_blue.png",
"sign-up-context" => "default",
Expand Down

0 comments on commit 3180315

Please sign in to comment.