summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/previews_controller_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb
index 195f74783..976af94e3 100644
--- a/test/functional/previews_controller_test.rb
+++ b/test/functional/previews_controller_test.rb
@@ -32,7 +32,7 @@ class PreviewsControllerTest < ActionController::TestCase
@request.session[:user_id] = 2
post :issue, :project_id => '1', :issue => {:description => 'Foo'}
assert_response :success
- assert_template 'preview'
+ assert_template 'previews/issue'
assert_not_nil assigns(:description)
end
@@ -41,7 +41,7 @@ class PreviewsControllerTest < ActionController::TestCase
post :issue, :project_id => '1', :id => 1,
:issue => {:description => Issue.find(1).description, :notes => 'Foo'}
assert_response :success
- assert_template 'preview'
+ assert_template 'previews/issue'
assert_not_nil assigns(:notes)
end
@@ -49,7 +49,7 @@ class PreviewsControllerTest < ActionController::TestCase
@request.session[:user_id] = 2
post :issue, :project_id => '1', :id => 1, :notes => 'Foo'
assert_response :success
- assert_template 'preview'
+ assert_template 'previews/issue'
assert_not_nil assigns(:notes)
assert_tag :p, :content => 'Foo'
end