Sha256: 2f99ab0cd0af0758ba4662931ea56ad7bc614d62ef0cb8b66e963920f772dd72
Contents?: true
Size: 455 Bytes
Versions: 9
Compression:
Stored size: 455 Bytes
Contents
require 'spec_helper' describe RailsBestPractices::Prepares::MailerPrepare do let(:runner) { RailsBestPractices::Core::Runner.new(:prepares => RailsBestPractices::Prepares::MailerPrepare.new) } it "should parse mailer names" do content =<<-EOF class ProjectMailer < ActionMailer::Base end EOF runner.prepare('app/mailers/project_mailer.rb', content) RailsBestPractices::Prepares.mailers.should == ["ProjectMailer"] end end
Version data entries
9 entries across 9 versions & 2 rubygems