test/test_live_api.rb in datasift-1.3.0 vs test/test_live_api.rb in datasift-1.3.1
- old
+ new
@@ -46,12 +46,12 @@
should "fail to compile the definition" do
assert_raise(DataSift::CompileFailedError) { @definition.compile() }
end
- should "have a hash of false" do
+ should "fail to get the hash" do
assert_raise(DataSift::CompileFailedError) { @definition.compile() }
- assert_equal false, @definition.hash
+ assert_raise(DataSift::CompileFailedError) { @definition.hash }
end
end
context "The DPU returned from a valid Definition object" do
setup do