repository_spec.rb revision db149239590d2a39d399f12cd01609b190ea4763
require 'spec_helper'
context 'associations' do
end
end
build :repository, user: user, name: 'repositories'
end
end
end
end
end
repository.name = "#{repository.name}addition"
end
end
Sidekiq::Testing.fake! do
end
end
end
end
end
Sidekiq::Testing.fake! do
expect { repository.reload }.
end
end
end
end
end
end
end
before do
repository.access = 'private_rw'
end
end
before do
repository.name += "_foo"
end
end
end
end
end
before do
repository.access = 'public_r'
end
end
end
end
end
end
end