Sha256: a543461aa4e7f297ef0f68ae43b8401df85814a0e41f7d337745115a9112e8cb
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
require 'rails_helper' module TokenAction RSpec.describe Token, type: :model do it {should validate_presence_of :kind} it {should validate_uniqueness_of :token} describe '#create' do it 'should set the token' do expect(FactoryGirl.create(:token).token).not_to eq(nil) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
token_action-0.0.2 | spec/token_action/concerns/model_spec.rb |