Решение на Десета задача от София Петрова
Обратно към всички решения
Към профила на София Петрова
Резултати
- 0 точки от тестове
- 0 бонус точки
- 0 точки общо
- 0 успешни тест(а)
- 1 неуспешни тест(а)
Код
Лог от изпълнението
From https://github.com/fmi/ruby-retrospective-2015-2
* branch master -> FETCH_HEAD
HEAD is now at 512294b Modify a test in task 8 to not include empty cells
Cloning into 'submission'...
HEAD is now at 2c00603 Add task 7
From /tmp/ruby-retrospective-2015-2/checker
* branch master -> FETCH_HEAD
* [new branch] master -> upstream/master
Changes URL:
https://github.com/SophiaPetrova/ruby-retrospective-2015-2/compare/512294b6dde...2c0060318d4
‘solutions/08.rb’ -> ‘/tmp/ruby-retrospective-2015-2/checker/solutions/08.rb’
‘solutions/05.rb’ -> ‘/tmp/ruby-retrospective-2015-2/checker/solutions/05.rb’
‘solutions/07.rb’ -> ‘/tmp/ruby-retrospective-2015-2/checker/solutions/07.rb’
‘solutions/06.rb’ -> ‘/tmp/ruby-retrospective-2015-2/checker/solutions/06.rb’
OK
F
Failures:
1) ObjectStore can add objects
Failure/Error: expect(repo.add("object", "content")).to be_success("Added object to stage.", "content")
NameError:
undefined local variable or method `results' for #<Success:0x007fc2cb22c640>
# ./solutions/05.rb:9:in `initialize'
# ./solutions/05.rb:137:in `new'
# ./solutions/05.rb:137:in `add'
# ./specs/05_spec.rb:23:in `block (2 levels) in <top (required)>'
Finished in 0.00064 seconds
1 example, 1 failure
Failed examples:
rspec ./specs/05_spec.rb:21 # ObjectStore can add objects
F
Failures:
1) ruby-retrospective-2015-2 covers the minimum requirements
Failure/Error: system(command) or raise "Command failed for #{@solutions_repo}: #{command}"
RuntimeError:
Command failed for https://github.com/SophiaPetrova/ruby-retrospective-2015-2: bundle exec rake check
# /tmp/d20160131-21007-1odyidz/spec.rb:107:in `execute'
# /tmp/d20160131-21007-1odyidz/spec.rb:82:in `block (3 levels) in solutions_pass_all_checks'
# /tmp/d20160131-21007-1odyidz/spec.rb:81:in `chdir'
# /tmp/d20160131-21007-1odyidz/spec.rb:81:in `block (2 levels) in solutions_pass_all_checks'
# /tmp/d20160131-21007-1odyidz/spec.rb:47:in `chdir'
# /tmp/d20160131-21007-1odyidz/spec.rb:47:in `block in solutions_pass_all_checks'
# /tmp/d20160131-21007-1odyidz/spec.rb:46:in `solutions_pass_all_checks'
# /tmp/d20160131-21007-1odyidz/spec.rb:20:in `ok?'
# /tmp/d20160131-21007-1odyidz/spec.rb:126:in `<top (required)>'
Finished in 0.001 seconds
1 example, 1 failure
Failed examples:
rspec /tmp/d20160131-21007-1odyidz/spec.rb:132 # ruby-retrospective-2015-2 covers the minimum requirements
История (1 версия и 0 коментара)
София обнови решението на 27.01.2016 23:27 (преди почти 9 години)