```ruby
require File.dirname(__FILE__) + '/../test_helper'


class ScheduleControllerTest < ActionController::TestCase
  fixtures :users, :companies, :tasks
  
  def setup
    login
  end

  test "/gantt should display and assign some tasks" do
    get :gantt
    assert_response :success

    tasks = assigns['tasks']
    assert_not_nil tasks
    assert tasks.length > 0
  end 

  test "/list should display and assign some tasks" do
    get :list
    assert_response :success

    tasks = assigns['tasks']
    assert_not_nil tasks
#    assert tasks.length > 0
  end 
end
```

Update schedule controller test, list action was removed in 050b4025b commit.
user
```ruby
require File.dirname(__FILE__) + '/../test_helper'


class ScheduleControllerTest < ActionController::TestCase
  fixtures :users, :companies, :tasks

  def setup
    login
  end

  test "/gantt should display and assign some tasks" do
    get :gantt
    assert_response :success

    tasks = assigns['tasks']
    assert_not_nil tasks
    assert tasks.length > 0
  end
end
```
assistant