Advertisement
Guest User

Untitled

a guest
Jun 12th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.75 KB | None | 0 0
  1. diff --git a/test/functional/admin_panel_controller_test.rb b/test/functional/admin_panel_controller_test.rb
  2. index 4e652db..02b76f6 100644
  3. --- a/test/functional/admin_panel_controller_test.rb
  4. +++ b/test/functional/admin_panel_controller_test.rb
  5. @@ -140,8 +140,7 @@ class AdminPanelControllerTest < ActionController::TestCase
  6.    should 'dont save site article date format option when a invalid option is passed' do
  7.      post :site_info, :environment => { :date_format => "invalid_format" }
  8.  
  9. -    assert_match "Date format is not included in the list", @response.body
  10. -    assert_equal "month_name_with_year", Environment.default.date_format
  11. +    assert_not_equal "invalid_format", Environment.default.date_format
  12.    end
  13.  
  14.    should 'set portal community' do
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement