Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/ari/jobsworth into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ari committed Dec 29, 2013
2 parents 6caf267 + 27ed58c commit d89ed0b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/functional/tasks_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ def setup
TaskRecord.all.each do |task|
TaskUser.new(:user_id => @user.id, :task_id => task.id).save
end
end

should "get next tasks" do
get :nextTasks, :count => 5
assert_response :success
assert_equal "application/json", @response.content_type
end
should respond_with(:success)
should respond_with_content_type('application/json')
end

should "render :success on /edit" do
Expand Down

0 comments on commit d89ed0b

Please sign in to comment.