mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-07 16:24:21 +01:00
all non-cucumber tests are passing
This commit is contained in:
parent
13b58f3a10
commit
63175c115b
46 changed files with 248 additions and 505 deletions
|
|
@ -424,7 +424,6 @@ class StatsControllerTest < ActionController::TestCase
|
|||
assert_equal 2, assigns['count']
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
def given_todos_for_stats
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue