Sha256: 53fbb7aa88de67a11c0e079881d9dc5135ff4a0065a071942b729bb6f2409864
Contents?: true
Size: 605 Bytes
Versions: 18
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true require "assert" require "much-rails/action/head_result" class MuchRails::Action::HeadResult class UnitTests < Assert::Context desc "MuchRails::Action::HeadResult" subject{ unit_class } let(:unit_class){ MuchRails::Action::HeadResult } end class InitTests < UnitTests desc "when init" subject{ unit_class.new(:ok) } should "know its attributes" do assert_that(subject.command_name).equals(:head) assert_that(subject.command_args).equals([:ok]) assert_that(subject.head_args).equals(subject.command_args) end end end
Version data entries
18 entries across 18 versions & 1 rubygems