spec/lib/minimart/cookbook_spec.rb in minimart-1.1.3 vs spec/lib/minimart/cookbook_spec.rb in minimart-1.1.6
- old
+ new
@@ -29,9 +29,19 @@
describe '#maintainer' do
subject { cookbook.maintainer }
it { is_expected.to eq 'MadGlory' }
end
+ describe '#source_url' do
+ subject { cookbook.source_url }
+ it { is_expected.to eq 'https://github.com/electric-it/minimart'}
+ end
+
+ describe '#issues_url' do
+ subject { cookbook.issues_url }
+ it { is_expected.to eq 'https://github.com/electric-it/minimart/issues'}
+ end
+
describe '#path' do
subject { cookbook.path }
it { is_expected.to eq Pathname.new('spec/fixtures/sample_cookbook') }
end