spec/element_spec.rb in machinereading-0.0.2 vs spec/element_spec.rb in machinereading-0.1.0

- old
+ new

@@ -117,10 +117,9 @@ Machinereading.configure do |c| c.api_key = "bad-api-key" c.endpoint = "not-an-url-endpoint" end element = Machinereading::Element.new(@sample_content, @sample_content_lang) - # raise Machinereading::BadResponse - expect { element.tokenizer }.to raise_error + expect { element.tokenizer }.to raise_error(Machinereading::BadResponse) end end \ No newline at end of file