calendar feature generiert
This commit is contained in:
8
spec/factories/calendars.rb
Normal file
8
spec/factories/calendars.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :calendar do
|
||||
name "MyString"
|
||||
public false
|
||||
end
|
||||
end
|
||||
10
spec/factories/calentries.rb
Normal file
10
spec/factories/calentries.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :calentry do
|
||||
start "2013-08-05 21:17:10"
|
||||
ende "2013-08-05 21:17:10"
|
||||
summary "MyString"
|
||||
typ 1
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user