Commit aa514668c4c532dc8c91b709d9529786287a764f
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'master' into production
Showing
3 changed files
with
13 additions
and
0 deletions
Show diff stats
app/views/tasks/_task.html.erb
public/stylesheets/tasks.css
test/functional/tasks_controller_test.rb
... | ... | @@ -80,6 +80,12 @@ class TasksControllerTest < ActionController::TestCase |
80 | 80 | assert_kind_of Array, assigns(:tasks) |
81 | 81 | end |
82 | 82 | |
83 | + should 'display task created_at' do | |
84 | + Task.create!(:requestor => fast_create(Person), :target => profile, :spam => false) | |
85 | + get :index | |
86 | + assert_select '.task_date' | |
87 | + end | |
88 | + | |
83 | 89 | should 'list processed tasks without spam' do |
84 | 90 | requestor = fast_create(Person) |
85 | 91 | task_spam = create(Task, :status => Task::Status::FINISHED, :requestor => requestor, :target => profile, :spam => true) | ... | ... |