Sha256: 54975d9c0351f750ecfc451505a983db1550ef078542ea663d41852fa82d1338

Contents?: true

Size: 247 Bytes

Versions: 10

Compression:

Stored size: 247 Bytes

Contents

module Agilibox::TestHelpers
  def json_response
    @json_response ||= JSON.parse(response.body)
  end

  def email_deliveries
    ActionMailer::Base.deliveries
  end

  def sms_deliveries
    Agilibox::SMS::Strategies::Test.deliveries
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
agilibox-1.2.3 lib/agilibox/test_helpers.rb
agilibox-1.2.2 lib/agilibox/test_helpers.rb
agilibox-1.2.1 lib/agilibox/test_helpers.rb
agilibox-1.2.0 lib/agilibox/test_helpers.rb
agilibox-1.1.0 lib/agilibox/test_helpers.rb
agilibox-1.0.15 lib/agilibox/test_helpers.rb
agilibox-1.0.14 lib/agilibox/test_helpers.rb
agilibox-1.0.13 lib/agilibox/test_helpers.rb
agilibox-1.0.12 lib/agilibox/test_helpers.rb
agilibox-1.0.11 lib/agilibox/test_helpers.rb