Bug 862816 - [RFE] Write some controller locale tests
Summary: [RFE] Write some controller locale tests
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-03 15:39 UTC by David Davis
Modified: 2013-03-27 20:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-22 19:10:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Davis 2012-10-03 15:39:38 UTC
Write some tests to cover the locale code in application_controller. Also, write a way in rspec to change the locale (you'll probably end up doing this automatically when you write the new locale specs). Lastly remove the set_default_locale method and calls as we're now setting the locale before all methods in spec_helper.rb.

Comment 1 David Davis 2012-10-03 15:40:22 UTC
To summarize the second task: we need a standardized way to set the locale for controller tests.

Comment 4 David Davis 2013-01-22 19:10:34 UTC
I'm going to close this as unneeded. We can re-eval later.


Note You need to log in before you can comment on or make changes to this bug.