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
d6013c62
Commit
d6013c62
authored
Nov 03, 2010
by
Tim Felgentreff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a couple more tests
parent
fe33a89c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
issues_controller_test.rb
test/functional/issues_controller_test.rb
+3
-3
No files found.
test/functional/issues_controller_test.rb
View file @
d6013c62
...
...
@@ -683,7 +683,7 @@ class IssuesControllerTest < ActionController::TestCase
assert
issue
.
current_journal
.
changes
.
has_key?
"subject"
assert
issue
.
current_journal
.
changes
.
has_key?
"priority_id"
assert
!
issue
.
current_journal
.
changes
.
has_key?
(
"category_id"
)
assert
issue
.
current_journal
.
changes
.
has_key?
"2"
assert
issue
.
current_journal
.
changes
.
has_key?
2
assert_redirected_to
:action
=>
'show'
,
:id
=>
'1'
issue
.
reload
...
...
@@ -956,7 +956,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_equal
[
7
,
7
,
7
],
Issue
.
find
([
1
,
2
,
6
]).
map
(
&
:priority_id
)
issue
=
Issue
.
find
(
1
)
journal
=
issue
.
journals
.
find
(
:first
,
:order
=>
'created_
on
DESC'
)
journal
=
issue
.
journals
.
find
(
:first
,
:order
=>
'created_
at
DESC'
)
assert_equal
'125'
,
issue
.
custom_value_for
(
2
).
value
assert_equal
'Bulk editing'
,
journal
.
notes
assert_equal
1
,
journal
.
details
.
size
...
...
@@ -1018,7 +1018,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_response
302
issue
=
Issue
.
find
(
1
)
journal
=
issue
.
journals
.
find
(
:first
,
:order
=>
'created_at DESC'
)
journal
=
issue
.
journals
.
last
assert_equal
'777'
,
issue
.
custom_value_for
(
2
).
value
assert_equal
1
,
journal
.
details
.
size
assert_equal
'125'
,
journal
.
details
.
first
.
first
...
...
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