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
762cc04b
Commit
762cc04b
authored
May 27, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port
784bbccf
's custom value test back into aaj
parent
f883758c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
journals.yml
test/fixtures/journals.yml
+6
-2
journals_controller_test.rb
test/functional/journals_controller_test.rb
+2
-1
No files found.
test/fixtures/journals.yml
View file @
762cc04b
...
...
@@ -35,7 +35,11 @@ journals_003:
user_id
:
2
notes
:
"
A
comment
with
inline
image:
!picture.jpg!"
journaled_id
:
2
changes
:
"
---
{}"
changes
:
|
---
custom_values_2:
- 'Old value'
- 'New value'
journals_004
:
id
:
4
type
:
"
IssueJournal"
...
...
@@ -214,4 +218,4 @@ journals_018:
user_id
:
2
notes
:
journaled_id
:
11
changes
:
"
---
{}"
\ No newline at end of file
changes
:
"
---
{}"
test/functional/journals_controller_test.rb
View file @
762cc04b
...
...
@@ -22,7 +22,8 @@ require 'journals_controller'
class
JournalsController
;
def
rescue_action
(
e
)
raise
e
end
;
end
class
JournalsControllerTest
<
ActionController
::
TestCase
fixtures
:projects
,
:users
,
:members
,
:member_roles
,
:roles
,
:issues
,
:journals
,
:enabled_modules
fixtures
:projects
,
:users
,
:members
,
:member_roles
,
:roles
,
:issues
,
:journals
,
:journal_details
,
:enabled_modules
,
:trackers
,
:issue_statuses
,
:enumerations
,
:custom_fields
,
:custom_values
,
:custom_fields_projects
def
setup
@controller
=
JournalsController
.
new
...
...
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