Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
c778cc92
Commit
c778cc92
authored
May 20, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#415] Fix functional tests that used the older interface
parent
6015913f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wiki_controller_test.rb
test/functional/wiki_controller_test.rb
+2
-2
No files found.
test/functional/wiki_controller_test.rb
View file @
c778cc92
...
...
@@ -88,7 +88,7 @@ class WikiControllerTest < ActionController::TestCase
page
=
Project
.
find
(
1
).
wiki
.
find_page
(
'New page'
)
assert
!
page
.
new_record?
assert_not_nil
page
.
content
assert_equal
'Created the page'
,
page
.
content
.
comment
s
assert_equal
'Created the page'
,
page
.
content
.
last_journal
.
note
s
end
def
test_create_page_with_attachments
...
...
@@ -128,7 +128,7 @@ class WikiControllerTest < ActionController::TestCase
page
=
Wiki
.
find
(
1
).
pages
.
find_by_title
(
'Another_page'
)
assert_equal
"edited"
,
page
.
content
.
text
assert_equal
2
,
page
.
content
.
version
assert_equal
"my comments"
,
page
.
content
.
comment
s
assert_equal
"my comments"
,
page
.
content
.
last_journal
.
note
s
end
def
test_update_page_with_failure
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment