test/lib/vedeu/cursor/cursor_test.rb in vedeu-0.4.17 vs test/lib/vedeu/cursor/cursor_test.rb in vedeu-0.4.18
- old
+ new
@@ -27,10 +27,10 @@
let(:y) { 8 }
describe '#initialize' do
subject { instance }
- it { subject.must_be_instance_of(Cursor) }
+ it { subject.must_be_instance_of(described) }
it { subject.instance_variable_get('@name').must_equal('silver') }
it { subject.instance_variable_get('@ox').must_equal(3) }
it { subject.instance_variable_get('@oy').must_equal(2) }
it { subject.instance_variable_get('@repository').must_equal(repository) }
it { subject.instance_variable_get('@visible').must_equal(true) }