Module: RequestSpecHelper

Defined in:
lib/whatcounts/spec/spec_helper.rb

Instance Method Summary collapse

Instance Method Details

#mock_one_off_messageObject



24
25
26
27
28
29
# File 'lib/whatcounts/spec/spec_helper.rb', line 24

def mock_one_off_message
  test_attrs = {:pwd => 'test', :list_id => 1, :realm => 'test', :format => 1, :to => '[email protected]', :template_id => 1, :data => {:first => 'Test'}}
  message = mock("message", test_attrs)
  
  return message
end