@@ -32,7 +32,7 class PreviewsControllerTest < ActionController::TestCase | |||
|
32 | 32 | @request.session[:user_id] = 2 |
|
33 | 33 | post :issue, :project_id => '1', :issue => {:description => 'Foo'} |
|
34 | 34 | assert_response :success |
|
35 | assert_template 'preview' | |
|
35 | assert_template 'previews/issue' | |
|
36 | 36 | assert_not_nil assigns(:description) |
|
37 | 37 | end |
|
38 | 38 | |
@@ -41,7 +41,7 class PreviewsControllerTest < ActionController::TestCase | |||
|
41 | 41 | post :issue, :project_id => '1', :id => 1, |
|
42 | 42 | :issue => {:description => Issue.find(1).description, :notes => 'Foo'} |
|
43 | 43 | assert_response :success |
|
44 | assert_template 'preview' | |
|
44 | assert_template 'previews/issue' | |
|
45 | 45 | assert_not_nil assigns(:notes) |
|
46 | 46 | end |
|
47 | 47 | |
@@ -49,7 +49,7 class PreviewsControllerTest < ActionController::TestCase | |||
|
49 | 49 | @request.session[:user_id] = 2 |
|
50 | 50 | post :issue, :project_id => '1', :id => 1, :notes => 'Foo' |
|
51 | 51 | assert_response :success |
|
52 | assert_template 'preview' | |
|
52 | assert_template 'previews/issue' | |
|
53 | 53 | assert_not_nil assigns(:notes) |
|
54 | 54 | assert_tag :p, :content => 'Foo' |
|
55 | 55 | end |
General Comments 0
You need to be logged in to leave comments.
Login now