forked from bofh/fetsite
AutoCommit Mon Jun 8 22:03:14 CEST 2015
This commit is contained in:
11
spec/factories/keys.rb
Normal file
11
spec/factories/keys.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
FactoryGirl.define do
|
||||
factory :key do
|
||||
uuid "MyString"
|
||||
expire "2015-06-08 21:32:56"
|
||||
parent ""
|
||||
type 1
|
||||
user_id 1
|
||||
is_valid false
|
||||
end
|
||||
|
||||
end
|
||||
5
spec/models/key_spec.rb
Normal file
5
spec/models/key_spec.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Key, :type => :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
||||
Reference in New Issue
Block a user