blob: d7e9e133445f81fe7f4fa23cd1465cc5f40e8129 (
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 GalleryLinks
describe GalleryLink do
describe "validations" do
subject do
FactoryGirl.create(:gallery_link,
:title => "Refinery CMS")
end
it { should be_valid }
its(:errors) { should be_empty }
its(:title) { should == "Refinery CMS" }
end
end
end
end
|