all non-cucumber tests are passing

This commit is contained in:
Reinier Balt 2012-04-27 14:22:16 +02:00
parent 13b58f3a10
commit 63175c115b
46 changed files with 248 additions and 505 deletions

View file

@ -424,7 +424,6 @@ class StatsControllerTest < ActionController::TestCase
assert_equal 2, assigns['count']
end
private
def given_todos_for_stats

View file

@ -135,7 +135,7 @@ class TodosControllerTest < ActionController::TestCase
put :create, :format => "xml", "request" => {
"project_name"=>"Build a working time machine",
"todo"=>{"notes"=>"", "description"=>"Call Warren Buffet to find out how much he makes per day", "due"=>"30/11/2006"}, "tag_list"=>"foo bar" }
assert_response 422
assert_response 409
assert_xml_select "errors" do
assert_xml_select "error", "Context can't be blank"
end