Sha256: 10396d6eb9ce9d87153b875952784ae9393fe9cb72cd6339072f004b34336788

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

module Refinery
  module Contacts
    describe Mail do
      describe "validations" do
        subject do
          FactoryGirl.create(:mail,
          :mail => "Refinery CMS")
        end

        it { should be_valid }
        its(:errors) { should be_empty }
        its(:mail) { should == "Refinery CMS" }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
refinerycms-contacts-0.1.2 spec/models/refinery/contacts/mail_spec.rb
refinerycms-contacts-0.1.1 spec/models/refinery/contacts/mail_spec.rb
refinerycms-contacts-0.1.0 spec/models/refinery/contacts/mail_spec.rb