Sha256: ea114c405e39a405cf2a50bade2c3cce0a2766ac804e3dbe5e1e0eca73c12900
Contents?: true
Size: 488 Bytes
Versions: 8
Compression:
Stored size: 488 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(current_user) expected = ["admin/helpers/dashboard/resources", { :resources => ["Git", "Status", "WatchDog"] }] assert_equal expected, output end end
Version data entries
8 entries across 8 versions & 1 rubygems