spec/command/plugins_helper_spec.rb in claide-plugins-0.9.0 vs spec/command/plugins_helper_spec.rb in claide-plugins-0.9.1

- 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-plugins/ + expected_error = /Invalid plugins list from claidetest-plugins/ should.raise(CLAide::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-plugins/ + expected_error = /Could not download plugins list from claidetest-plugins/ should.raise(CLAide::Informative) do Command::PluginsHelper.download_json end.message.should.match(expected_error) end end