spec/sparkle_spec.rb in motion-sparkle-sandbox-2.1.0 vs spec/sparkle_spec.rb in motion-sparkle-sandbox-2.1.1
- old
+ new
@@ -27,16 +27,18 @@
expect(@config.info_plist['SUFeedURL']).to eq 'http://example.com/releases.xml'
end
it 'uses feed_base_url' do
@config.sparkle.publish(:feed_base_url, 'http://rss.example.com/')
+ @config.sparkle.after_initialize
expect(@config.info_plist['SUFeedURL']).to eq 'http://rss.example.com/releases.xml'
end
it 'uses feed_filename' do
@config.sparkle.publish(:feed_base_url, 'http://rss.example.com/')
@config.sparkle.publish(:feed_filename, 'example.xml')
+ @config.sparkle.after_initialize
expect(@config.info_plist['SUFeedURL']).to eq 'http://rss.example.com/example.xml'
end
end