Sha256: 5c6c3470ba7115b0fb349bab9e501bca3da1f00246778bf6332eefefb82e13a6
Contents?: true
Size: 339 Bytes
Versions: 3
Compression:
Stored size: 339 Bytes
Contents
module RateHelper extend ActiveSupport::Concern private def mock_response(service, code, name) response = mock response.expects(:code).returns code if name body = File.read(File.dirname(__FILE__) + "/../fixtures/#{service}/#{name}.json") response.expects(:body).returns body end response end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
economy-4.0.2.2 | test/support/rate_helper.rb |
economy-4.0.2.1 | test/support/rate_helper.rb |
economy-4.0.2.0 | test/support/rate_helper.rb |