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
8b06e260
Commit
8b06e260
authored
May 27, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#350
] Force clearing the cache before each test
parent
5a9ffe96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
test_helper.rb
test/test_helper.rb
+4
-0
No files found.
test/test_helper.rb
View file @
8b06e260
...
...
@@ -47,6 +47,10 @@ class ActiveSupport::TestCase
self
.
use_instantiated_fixtures
=
false
# Add more helper methods to be used by all tests here...
def
setup
super
Setting
.
clear_cache
end
def
log_user
(
login
,
password
)
User
.
anonymous
...
...
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