Sha256: 2fa4b3e8eb3b4764060f67976338a46328d11444975cca0266e383934afa63dd

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

require 'spec_helper'

# @todo
describe TokenAction::Token do
  it {should validate_presence_of :kind}
  it {should validate_uniqueness_of :token}

  describe '#create' do
    it 'should set the token' do
      FactoryGirl.create(:token).token.should_not be_nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
token_action-0.0.1 spec/token_action/mixins/model_spec.rb