Commit f9f11aeb authored by Ben Asher's avatar Ben Asher

fix up analyzer spec for Informative

parent 0ba1910e
......@@ -275,7 +275,7 @@ module Pod
end
end
unless extension_targets_missing_hosts.empty?
raise Informative, "Unable to find host target for #{extension_targets_missing_hosts.map(&:name).join(', ')}. Please add the extension's host targets to the Podfile."
raise Informative, "Unable to find host target for #{extension_targets_missing_hosts.map(&:name).join(', ')}. Please add the host targets for the extensions to the Podfile."
end
end
......
......@@ -711,7 +711,7 @@ module Pod
].sort
end
it 'raises exception when unable' do
it "raises exception when unable to find an extension's host target" do
podfile = Pod::Podfile.new do
source SpecHelper.test_repo_url
use_frameworks!
......@@ -725,7 +725,7 @@ module Pod
analyzer = Pod::Installer::Analyzer.new(config.sandbox, podfile)
should.raise Informative do
analyzer.analyze
end.message.should.equal "Unable to find host target for Pods-Today Extension. Please add the extension's host targets to the Podfile."
end.message.should.match /Unable to find host target for Pods-Today Extension. Please add the host targets for the extensions to the Podfile/
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment