repository_test.rb revision 7097237ffbd7227b30272b307b6e48c78b22ecb1
c4bdc37c9de27abfa1d5be18008953b32457e6c4Eugen Kuksarequire 'test_helper'
c4bdc37c9de27abfa1d5be18008953b32457e6c4Eugen Kuksa @repository = FactoryGirl.create :repository, user: @user
8d4c6e7397e88fade190ad107583c30dc6b34afcEugen Kuksa assert_not_nil @permission = @repository.permissions.first
8d4c6e7397e88fade190ad107583c30dc6b34afcEugen Kuksa @file_path = '/tmp/ontohub/test/git_repository/save_file.txt'
44f41210d9e3ab001acbbe8df9b39445ac00b5ddEugen Kuksa # create directory if it doesn't exist
c4bdc37c9de27abfa1d5be18008953b32457e6c4Eugen Kuksa # create file
setup do
setup do