test/lib/vedeu/repositories/repository_test.rb in vedeu-0.6.4 vs test/lib/vedeu/repositories/repository_test.rb in vedeu-0.6.5
- old
+ new
@@ -181,9 +181,16 @@
subject.must_be_instance_of(Vedeu::TestModel)
end
end
end
+ describe '#inspect' do
+ subject { instance.inspect }
+
+ it { subject.must_be_instance_of(String) }
+ it { subject.must_equal('<Vedeu::Repository>') }
+ end
+
describe '#registered?' do
it 'returns false with no name' do
RepositoriesTestClass.new.registered?('').must_equal(false)
end