Sha256: 70888bdffdd30dc06218c43eda7174d46c505be18d79b3e2b57d8d312cbdd748

Contents?: true

Size: 329 Bytes

Versions: 14

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

describe Platform do
  context "when creating a sample record" do
    subject { FactoryGirl.create(:platform) }

    its(:id)     { should be_present }
    its(:name)   { should be_present }
    its(:status) { should be_present }

    it { should be_valid }
    it { should_not be_a_new_record }
  end
end

Version data entries

14 entries across 11 versions & 1 rubygems

Version Path
paper_trail_manager-0.6.0 spec/models/platform_spec.rb
paper_trail_manager-0.5.0 spec/models/platform_spec.rb
paper_trail_manager-0.4.0 spec/models/platform_spec.rb
paper_trail_manager-0.3.0 spec/models/platform_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.0.17/spec/models/platform_spec.rb
paper_trail_manager-0.2.0 rails_test/common/spec/models/platform_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.1.8/spec/models/platform_spec.rb
paper_trail_manager-0.2.0 rails_test/rails-3.2.8/spec/models/platform_spec.rb
paper_trail_manager-0.1.6 spec/dummy/spec/models/platform_spec.rb
paper_trail_manager-0.1.4 spec/dummy/spec/models/platform_spec.rb
paper_trail_manager-0.1.3 spec/dummy/spec/models/platform_spec.rb
paper_trail_manager-0.1.2 spec/dummy/spec/models/platform_spec.rb
paper_trail_manager-0.1.1 spec/dummy/spec/models/platform_spec.rb
paper_trail_manager-0.1.0 spec/dummy/spec/models/platform_spec.rb