spec/command/plugins_helper_spec.rb in cocoapods-plugins-0.3.1 vs spec/command/plugins_helper_spec.rb in cocoapods-plugins-0.3.2

- old
+ new

@@ -14,18 +14,18 @@ json['plugins'].size.should.eql? 3 end it 'handles empty/bad JSON' do stub_plugins_json_request 'This is not JSON' - expected_error = /Invalid plugins list from cocoapods.org/ + expected_error = /Invalid plugins list from cocoapods-plugins/ should.raise(Pod::Informative) do Command::PluginsHelper.download_json end.message.should.match(expected_error) end it 'notifies the user if the download fails' do stub_plugins_json_request '', [404, 'Not Found'] - expected_error = /Could not download plugins list from cocoapods.org/ + expected_error = /Could not download plugins list from cocoapods-plugins/ should.raise(Pod::Informative) do Command::PluginsHelper.download_json end.message.should.match(expected_error) end