Permalink
Browse files

Fix spec example description to be more precise

  • Loading branch information...
1 parent 03f4e36 commit dd7ca8bf174998dd8ca5ed122ab07ecdd3464342 @dkubb committed Dec 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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) }

0 comments on commit dd7ca8b

Please sign in to comment.