Sha256: 7e7c03d37e6d3c3491b3f53da4e9a5cbbd4d79e8d55e79a0b0a7496500a26aa2

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

require 'test_helper'

class DismissibleBlocks::Controllers::HelpersTest < ActionController::TestCase

  test "should be DismissibleBlocksController" do
    controller = DismissibleBlocksController.new
    assert controller.send(:dismissible_blocks_controller?)
  end

  test "should not be DismissibleBlocksController" do
    controller = SessionsController.new
    refute controller.send(:dismissible_blocks_controller?)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dismissible_blocks-1.1.1 test/lib/controllers/helpers_test.rb
dismissible_blocks-1.1.0 test/lib/controllers/helpers_test.rb