Sha256: 0033f20200033fc4bc8bf9ea2d6ac1604c0385e41d315c3ba6d83bf6019321cd
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
require "test_helper" class Admin::DashboardHelperTest < ActiveSupport::TestCase include Admin::DashboardHelper include ActionView::Helpers::UrlHelper include ActionView::Helpers::TextHelper def render(*args); args; end should "render resources" do @current_user = Factory(:typus_user) output = resources partial = "admin/helpers/dashboard/resources" options = { :resources => ["Git", "Status", "WatchDog"] } assert_equal partial, output.first assert_equal options, output.last end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typus-1.0.0.pre8 | test/helpers/admin/dashboard_helper_test.rb |