Sha256: 1ff703a5e96e2385d7c8e76a6891dd7d3dd5bcf0dc0d50ac8e123b4b7183be32

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

def mock_template *args
  mock Courier::Template::Base, *args
end

def mock_owner_setting *args
  mock_model Courier::OwnerSetting, *args
end

def mock_service *args
  mock Courier::Service::Base, *args
end

def mock_message *args
  mock_model Courier::Message, *args
end

def mock_owner *args
  mock_model User, *args
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
courier-0.2.4 spec/support/mocks.rb
courier-0.2.3 spec/support/mocks.rb
courier-0.2.1 spec/support/mocks.rb
courier-0.2.0 spec/support/mocks.rb
courier-0.1.5 spec/support/mocks.rb
courier-0.1.4 spec/support/mocks.rb
courier-0.1.3 spec/support/mocks.rb
courier-0.1.2 spec/support/mocks.rb