Sha256: 4e60e9875dc77b33d0b48505e6fae3a07f0890cabdcf0818ca023e09c23e684e
Contents?: true
Size: 329 Bytes
Versions: 2
Compression:
Stored size: 329 Bytes
Contents
require 'test_helper' class Api::TasksControllerTest < ActionController::TestCase setup do @stack = stacks(:shipit) authenticate! end test "#index returns a list of tasks" do task = @stack.tasks.last get :index, stack_id: @stack.to_param assert_response :ok assert_json '0.id', task.id end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shipit-engine-0.1.0 | test/controllers/api/tasks_controller_test.rb |
shipit-engine-0.0.1.pre | test/controllers/api/tasks_controller_test.rb |