Commit 0ed26129803b86b265b8a59f2132d400b8d5dc64

Authored by Rodrigo Souto
1 parent a99edb0f

chat: remove obsolete test

Showing 1 changed file with 0 additions and 15 deletions   Show diff stats
test/unit/application_helper_test.rb
... ... @@ -636,21 +636,6 @@ class ApplicationHelperTest < ActionView::TestCase
636 636 assert_equal '/designs/themes/new-theme/favicon.ico', theme_favicon
637 637 end
638 638  
639   - should 'include item in usermenu for environment enabled features' do
640   - env = fast_create(Environment)
641   - env.enable('xmpp_chat', false)
642   - stubs(:environment).returns(env)
643   -
644   - @controller = ApplicationController.new
645   - path = Rails.root.join('app', 'views')
646   - @controller.stubs(:view_paths).returns([path])
647   -
648   - file = path.join('shared','usermenu', 'xmpp_chat.html.erb')
649   - expects(:render).with(:file => file, :use_full_path => false).returns('Open chat')
650   -
651   - assert_equal 'Open chat', render_environment_features(:usermenu)
652   - end
653   -
654 639 should 'not inlude administration link if user is not an environment administrator' do
655 640 user = mock()
656 641 stubs(:environment).returns(Environment.default)
... ...