Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix spec example description to be more precise

  • Loading branch information...
commit dd7ca8bf174998dd8ca5ed122ab07ecdd3464342 1 parent 03f4e36
@dkubb authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/unit/equalizer/methods/equal_value_spec.rb
View
4 spec/unit/equalizer/methods/equal_value_spec.rb
@@ -44,7 +44,7 @@ def cmp?(comparator, other)
end
end
- context 'with an equivalent object of a subclass' do
+ context 'with a subclass instance having equivalent obervable state' do
let(:other) { Class.new(described_class).new(true) }
it { should be(true) }
@@ -56,7 +56,7 @@ def cmp?(comparator, other)
end
end
- context 'with an equivalent object of a superclass' do
+ context 'with a superclass instance having equivalent observable state' do
let(:other) { super_class.new(true) }
it { should be(false) }
Please sign in to comment.
Something went wrong with that request. Please try again.