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
65953cdc
Commit
65953cdc
authored
May 06, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#123
] Fix AttachmentsController test from
1f882883
parent
1f882883
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
attachments_controller_test.rb
test/functional/attachments_controller_test.rb
+2
-2
No files found.
test/functional/attachments_controller_test.rb
View file @
65953cdc
...
...
@@ -121,8 +121,8 @@ class AttachmentsControllerTest < ActionController::TestCase
assert_redirected_to
'/projects/ecookbook'
assert_nil
Attachment
.
find_by_id
(
1
)
j
=
issue
.
journals
.
find
(
:first
,
:order
=>
'created_at DESC'
)
assert_equal
[
1
],
j
.
details
.
keys
assert_equal
'error281.txt'
,
j
.
details
[
1
].
first
assert_equal
[
'attachments_1'
],
j
.
details
.
keys
assert_equal
'error281.txt'
,
j
.
details
[
'attachments_1'
].
first
end
def
test_destroy_wiki_page_attachment
...
...
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