spec/spec_helper.rb in mblox-0.0.3 vs spec/spec_helper.rb in mblox-0.1.0
- old
+ new
@@ -13,28 +13,19 @@
config.tariff = CONFIG['tariff']
config.service_id = CONFIG['service_id']
end
end
-set_configuration
-
TEST_NUMBER = CONFIG['test_number']
+LANDLINE = 6176354500
-def the_message
- "Mblox gem test sent at #{Time.now}"
-end
-
-def result_ok
- "RequestResult: \"0:OK\" / SubscriberResult: \"0:OK\""
-end
-
-def result_unroutable
- "RequestResult: \"0:OK\" / SubscriberResult: \"10:MsipRejectCode=29 Number unroutable:2e Do not retry:2e\""
-end
-
module Mblox
class << self
def reset_configuration
@config = Configuration.new
end
end
+end
+
+RSpec.configure do |config|
+ config.order = "random"
end