test/lib/vedeu/repositories/repository_test.rb in vedeu-0.4.54 vs test/lib/vedeu/repositories/repository_test.rb in vedeu-0.4.55
- old
+ new
@@ -85,15 +85,20 @@
end
end
end
describe '#by_name' do
- let(:_name) {}
+ let(:_name) { 'carbon' }
subject { instance.by_name(_name) }
- # @todo
- # it { skip }
+ context 'when the model exists' do
+ # it { skip }
+ end
+
+ context 'when the model does not exist' do
+ # it { skip }
+ end
end
describe '#current' do
subject { instance.current }