You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/spec/factories/asciicasts.rb

20 lines
568 B
Ruby

# Read about factories at http://github.com/thoughtbot/factory_girl
include ActionDispatch::TestProcess
FactoryGirl.define do
factory :asciicast do
user_id 1
stdout { fixture_file_upload("spec/fixtures/stdout", "application/octet-stream") }
stdout_timing { fixture_file_upload("spec/fixtures/stdout", "application/octet-stream") }
title "MyString"
duration 1
recorded_at "2011-11-23 22:06:07"
terminal_type "MyString"
terminal_columns 1
terminal_lines 1
command "MyString"
shell "MyString"
uname "MyString"
end
end