Sha256: d348a2787ed1f855d743f0b28067f7eeb6e6640b57eb292a348da5a8ac7c7436

Contents?: true

Size: 361 Bytes

Versions: 16

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

module Refinery
  module Stores
    describe Store do
      describe "validations" do
        subject do
          FactoryGirl.create(:store,
          :name => "Refinery CMS")
        end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
refinerycms-stores-0.1.0 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.16 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.14 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.13 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.12 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.11 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.10 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.9 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.8 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.7 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.6 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.5 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.4 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.3 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.2 spec/models/refinery/stores/store_spec.rb
refinerycms-stores-0.0.1 spec/models/refinery/stores/store_spec.rb