Sha256: 2d7e0adf945df6900b1d4e8e4f672558589928e28ff47aab4acb509b678cdd26
Contents?: true
Size: 517 Bytes
Versions: 18
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true require "assert" require "much-rails/action/base_result" class MuchRails::Action::BaseResult class UnitTests < Assert::Context desc "MuchRails::Action::BaseResult" subject{ unit_class } let(:unit_class){ MuchRails::Action::BaseResult } end class InitTests < UnitTests desc "when init" subject{ unit_class.new } should "not implement its #execute_block method" do assert_that{ subject.execute_block }.raises(NotImplementedError) end end end
Version data entries
18 entries across 18 versions & 1 rubygems