Sha256: 2c79230d12987095c33f48a64c1e12fa2e8db3eda9ef2080ff5508cc773c39d9
Contents?: true
Size: 432 Bytes
Versions: 2
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true RSpec.describe FiniteMachine::UndefinedTransition, '#==' do it "is true with the same name" do expect(described_class.new(:go)).to eq(described_class.new(:go)) end it "is false with a different name" do expect(described_class.new(:go)).to_not eq(described_class.new(:other)) end it "is false with another object" do expect(described_class.new(:go)).to_not eq(:other) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finite_machine-0.12.1 | spec/unit/undefined_transition/eql_spec.rb |
finite_machine-0.12.0 | spec/unit/undefined_transition/eql_spec.rb |