Sha256: 04d9b0fc4a428e1ea6fb8fd1f884b3d747430337c76687935e14502fb302ff63
Contents?: true
Size: 834 Bytes
Versions: 4
Compression:
Stored size: 834 Bytes
Contents
require 'spec_helper' describe Archruby::Architecture::ConstraintBreak do it "receive an hash of options and put it in the correct attributes" do arch_break = Archruby::Architecture::ConstraintBreak.new({ :type => Archruby::Architecture::ConstraintBreak::ABSENSE, :class_origin => "Teste", :line_origin => 12, :class_target => "Target", :module_origin => "moduloOrig", :module_target => "moduloTarg", :msg => "MSG" }) arch_break.type.should == Archruby::Architecture::ConstraintBreak::ABSENSE arch_break.class_origin.should == "Teste" arch_break.line_origin.should == 12 arch_break.class_target.should == "Target" arch_break.module_origin.should == "moduloOrig" arch_break.module_target.should == "moduloTarg" arch_break.msg.should == "MSG" end end
Version data entries
4 entries across 4 versions & 1 rubygems