spec/hominid_spec.rb in Empact-hominid-1.1.12 vs spec/hominid_spec.rb in Empact-hominid-1.2.0

- old
+ new

@@ -16,6 +16,14 @@ @hominid.subscribe(@list_id, Faker::Internet.email) }.should_not raise_error end end end + + describe "#call" do + it "should raise HominidError on failure" do + proc { + Hominid.new.send(:call, 'bogusApi') + }.should raise_error(HominidError) + end + end end \ No newline at end of file