aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/refinery/banners/banner_spec.rb
blob: 6e3c3b68f7cab15e5101575bc863c21cc1a9c6ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'spec_helper'

module Refinery
  module Banners
    describe Banner do
      describe "validations" do
        subject do
          FactoryGirl.create(:banner,
          :name => "Refinery CMS")
        end

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