Sha256: 1b1a3ccd758d18c888903abdc6e99f5eac40bfbd9da295d01ac56e21607c80be
Contents?: true
Size: 455 Bytes
Versions: 32
Compression:
Stored size: 455 Bytes
Contents
require 'test_helper' module Components class FlashMessagesTest < ActiveSupport::TestCase def helpers mock_action_view do def flash {notice: "Message"} end end end def flashmsg arbre { flash_messages } end test "renders" do assert flashmsg end test "shows correct flash message" do assert_match /<span>Message<\/span>/, flashmsg end end end
Version data entries
32 entries across 32 versions & 1 rubygems