Sha256: 5cc1482f19c18836ee0c24d28ddabbca7492db72ee7ce27cbd5b66015e583fd7
Contents?: true
Size: 384 Bytes
Versions: 5
Compression:
Stored size: 384 Bytes
Contents
require 'spec_helper' describe Maily::Generator do it '.run generates valid fixtures and hooks for current application' do expect(Maily::Generator.run).to eq <<-HOOKS.strip_heredoc email = '' Maily.hooks_for('Notifier') do |mailer| mailer.register_hook(:invitation, email) mailer.register_hook(:recommendation, email) end HOOKS end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
maily-0.9.0 | spec/generator_spec.rb |
maily-0.8.2 | spec/generator_spec.rb |
maily-0.8.1 | spec/generator_spec.rb |
maily-0.8.0 | spec/generator_spec.rb |
maily-0.7.2 | spec/generator_spec.rb |