spec/comcetera_spec.rb in comcetera-0.2.0 vs spec/comcetera_spec.rb in comcetera-0.3.1
- old
+ new
@@ -45,9 +45,10 @@
it "should return an instance with error code and debug info when no operator code is returned" do
@comcetera = Comcetera.detect(31612345621)
@comcetera.operator_code.should be_nil
@comcetera.error_code.should == "ERR21"
+ @comcetera.error_message.should == "Facility not supported"
@comcetera.debug.should == <<-MSG
QUERYOK
31612345621 ERR21
ENDBATCH
MSG