This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Намедни московский мэр Сергей Собянин посетил 50-летие Городской клинической больницы №20, которую недавно нарекли именем Александра Константиновича Ерамишанцева, проработавшего в «двадцатке» 39 лет. Во время юбилейного мероприятия был открыт бюст хирургу Ерамишанцеву – пионеру отечественной трансплантологии. Осенью 1989 года директор Всесоюзного научного центра хирургии Борис Константинов отправил на два месяца в мадридскую клинику Порто Еро учиться трансплантации печени двух молодых сотрудников Александра Ерамишанцева и Сергея Готье.</p> | |
<p>В качестве командировочных и подъёмных им было выдано из директорского кармана 200 долларов, всё остальное предстояло добыть «умом и смекалкой». Ученикам удалось и выжить и научиться. Уже 14 февраля 1990 года в Центре хирургии хирурги Готье и Ерамишанцев сделали первую российскую пересадку печени. Сначала выполнялось две-три трансплантации в год, кстати, до сих времён дожил Андрей Пуршев из Йошкар-Олы, которому, тогда 18-летнему, печень |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted | |
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
li.fake-tab | |
= link_to "javascript:void(0);" do | |
Заказы | |
span.rounded.float-left = @user.orders.count |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FactoryGirl.define do | |
factory :answer do | |
question | |
content "yText" | |
end | |
factory :illegal_answer, class: "Answer" do | |
content nil | |
question_id 'potato' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ControllerHelpers | |
def login(user) | |
@request.env['devise.mapping'] = Devise.mappings[:user] | |
sign_in user | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shared_examples_for "API Authenticable" do | |
context "unauthorized" do | |
it 'returns 401 status if request has not access token' do | |
do_request(method, api_path) | |
expect(response.status).to eq 401 | |
end | |
it 'returns 401 status if access token is invalid' do | |
do_request(method, api_path, access_token: '1234') | |
expect(response.status).to eq 401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts 'Hello, world!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rails_helper' | |
RSpec.configure do |config| | |
config.use_transactional_fixtures = false | |
# DatabaseCleaner settings | |
config.before(:suite) do | |
DatabaseCleaner.clean_with(:truncation) | |
# Ensure sphinx directories exist for the test environment | |
ThinkingSphinx::Test.init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
require 'rails_helper' | |
RSpec.configure do |config| | |
config.use_transactional_fixtures = false | |
# DatabaseCleaner settings | |
config.before(:suite) do | |
DatabaseCleaner.clean_with(:truncation) |
OlderNewer