spec/package_spec.rb in kosmos-0.0.3 vs spec/package_spec.rb in kosmos-0.0.4
- old
+ new
@@ -22,9 +22,10 @@
subject { ExamplePackage }
it 'has a full name' do
expect(subject.title).to eq 'Example'
+ expect(subject.new.title).to eq 'Example'
end
it 'resolves requisites' do
expect(AnotherExample.resolve_prerequisites).to eq [ExamplePackage]
expect(AnotherExample.resolve_postrequisites).to eq [YetAnotherExample]