- Коректно
- 9 успешни тест(а)
- 0 неуспешни тест(а)
......... Finished in 0.00491 seconds 9 examples, 0 failures
Срокът за предаване на решения е отминал
Представете си (не толкова) далечното минало. Няма "умни телефони", няма iPhone, но пък има ей такива клетъчни телефони:
...и естествено, всеки ден си счупвате пръстите от писане на SMS-и.
Цифрови клавиатури ("във формата на шоколад") с 4 реда и 3 бутона на ред ("общо 12 блокчета шоколад... хммм... а сега ти се яде шоколад... изяж един шоколад... сега... но да е тъмен шоколад... по-полезен е..."):
------- ------- -------
| | | ABC | | DEF |
| 1 | | 2 | | 3 |
------- ------- -------
------- ------- -------
| GHI | | JKL | | MNO |
| 4 | | 5 | | 6 |
------- ------- -------
------- ------- -------
|PQRS | | TUV | | WXYZ|
| 7 | | 8 | | 9 |
------- ------- -------
------- ------- -------
| | |space| | |
| * | | 0 | | # |
------- ------- -------
За да въведете символ (например буква от азбуката или запетая), натискате определна цифра няколко пъти. Това се нарича multi-tap въвеждане на текст.
Например, за да въведете буквата K
, натискате бутона 5
два пъти (символите
се въртят така J -> K -> L -> 5
, което означава: едно натискане - J
, две
натискания - K
, три натискания - L
, четири натискания - 5
).
Особености:
1
въвежда единица (1
) с едно натискане. Нищо повече. Ако натиснем
бутонът n пъти, ще въведем n единици.0
въвежда празно място или нула в реда space -> 0
.*
и #
работят на принципа на бутона 1
.Следователно, за да се изпрати съобщението "WHERE DO U WANT 2 MEET L8R"
са нужни 47
бутон-натискания.
Бутон-натискане е термин, означаващ натискане на произволен бутон от клавиатурата на телефона.
В края на деня е жизненоважно да знаете колко бутон-натискания сте направили в писане на SMS-и!
Дефинирайте методът button_presses(message)
, който приема съобщение и връща броя
бутон-натискания, необходими за изписване на съобщението.
Примери:
button_presses('nvm') # => 6
button_presses('WHERE DO U WANT 2 MEET L8R') # => 47
' '
Ще ви гледаме много лошо до края на света, ако hardcode-нете броя на бутон-натисканията за всеки символ. Нещо подобно на:
{'a' = 1, 'b' = 2, ..., 'o' = 3, ...}
......... Finished in 0.00491 seconds 9 examples, 0 failures
......... Finished in 0.00548 seconds 9 examples, 0 failures
......... Finished in 0.00479 seconds 9 examples, 0 failures
......... Finished in 0.00446 seconds 9 examples, 0 failures
......... Finished in 0.00513 seconds 9 examples, 0 failures
......... Finished in 0.00519 seconds 9 examples, 0 failures
FFFFFFFFF Failures: 1) button_presses works for simple words Failure/Error: expect(button_presses('LOL')).to eq 9 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa27e2568> # /tmp/d20151101-11217-jjod9i/spec.rb:3:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 2) button_presses works for phrases with spaces Failure/Error: expect(button_presses('HOW R U')).to eq 13 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa27e3918> # /tmp/d20151101-11217-jjod9i/spec.rb:7:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 3) button_presses works for phrases with numbers Failure/Error: expect(button_presses('WHERE DO U WANT 2 MEET L8R')).to eq 47 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa27d66a0> # /tmp/d20151101-11217-jjod9i/spec.rb:11:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 4) button_presses allows input in lowercase Failure/Error: expect(button_presses('lol')).to eq 9 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa27b7bb0> # /tmp/d20151101-11217-jjod9i/spec.rb:15:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 5) button_presses handles the 0 digit Failure/Error: expect(button_presses('0')).to eq 2 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa27b5d38> # /tmp/d20151101-11217-jjod9i/spec.rb:19:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 6) button_presses handles the 1 digit Failure/Error: expect(button_presses('1')).to eq 1 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa2606ac8> # /tmp/d20151101-11217-jjod9i/spec.rb:24:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 7) button_presses handles digits only Failure/Error: expect(button_presses('2015')).to eq 11 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa25fddb0> # /tmp/d20151101-11217-jjod9i/spec.rb:29:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 8) button_presses handles * Failure/Error: expect(button_presses('**OMG**')).to eq 9 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa25fca28> # /tmp/d20151101-11217-jjod9i/spec.rb:33:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 9) button_presses handles # Failure/Error: expect(button_presses('canon in c#')).to eq 22 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f4fa25e93b0> # /tmp/d20151101-11217-jjod9i/spec.rb:37:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' Finished in 0.00346 seconds 9 examples, 9 failures Failed examples: rspec /tmp/d20151101-11217-jjod9i/spec.rb:2 # button_presses works for simple words rspec /tmp/d20151101-11217-jjod9i/spec.rb:6 # button_presses works for phrases with spaces rspec /tmp/d20151101-11217-jjod9i/spec.rb:10 # button_presses works for phrases with numbers rspec /tmp/d20151101-11217-jjod9i/spec.rb:14 # button_presses allows input in lowercase rspec /tmp/d20151101-11217-jjod9i/spec.rb:18 # button_presses handles the 0 digit rspec /tmp/d20151101-11217-jjod9i/spec.rb:23 # button_presses handles the 1 digit rspec /tmp/d20151101-11217-jjod9i/spec.rb:28 # button_presses handles digits only rspec /tmp/d20151101-11217-jjod9i/spec.rb:32 # button_presses handles * rspec /tmp/d20151101-11217-jjod9i/spec.rb:36 # button_presses handles #
......... Finished in 0.0054 seconds 9 examples, 0 failures
......... Finished in 0.0043 seconds 9 examples, 0 failures
3 3 3 .2 3 1 1 3 1 2 .1 2 2 3 2 1 1 3 1 2 1 1 1 2 1 1 4 1 1 2 2 1 1 3 4 3 .3 3 3 .2 4 2 3 2 .1 3 4 1 2 2 1 1 3 2 1 1 1 2 2 3 2 .4 2 1 4 .1 1 3 1 1 1 1 .3 1 2 3 2 1 3 2 1 3 1 . Finished in 0.00599 seconds 9 examples, 0 failures
......... Finished in 0.00582 seconds 9 examples, 0 failures
......... Finished in 0.01406 seconds 9 examples, 0 failures
....F.F.. Failures: 1) button_presses handles the 0 digit Failure/Error: expect(button_presses('0')).to eq 2 expected: 2 got: 3 (compared using ==) # /tmp/d20151101-11217-84n73f/spec.rb:19:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 2) button_presses handles digits only Failure/Error: expect(button_presses('2015')).to eq 11 expected: 11 got: 12 (compared using ==) # /tmp/d20151101-11217-84n73f/spec.rb:29:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' Finished in 0.00426 seconds 9 examples, 2 failures Failed examples: rspec /tmp/d20151101-11217-84n73f/spec.rb:18 # button_presses handles the 0 digit rspec /tmp/d20151101-11217-84n73f/spec.rb:28 # button_presses handles digits only
......... Finished in 0.00575 seconds 9 examples, 0 failures
......... Finished in 0.00487 seconds 9 examples, 0 failures
......... Finished in 0.0063 seconds 9 examples, 0 failures
......... Finished in 0.00844 seconds 9 examples, 0 failures
......... Finished in 0.00495 seconds 9 examples, 0 failures
......... Finished in 0.00479 seconds 9 examples, 0 failures
FFFFFFFFF Failures: 1) button_presses works for simple words Failure/Error: expect(button_presses('LOL')).to eq 9 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bd0c2198> # /tmp/d20151101-11217-1gpwc1p/spec.rb:3:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 2) button_presses works for phrases with spaces Failure/Error: expect(button_presses('HOW R U')).to eq 13 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bd0b7ba8> # /tmp/d20151101-11217-1gpwc1p/spec.rb:7:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 3) button_presses works for phrases with numbers Failure/Error: expect(button_presses('WHERE DO U WANT 2 MEET L8R')).to eq 47 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bd0b6230> # /tmp/d20151101-11217-1gpwc1p/spec.rb:11:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 4) button_presses allows input in lowercase Failure/Error: expect(button_presses('lol')).to eq 9 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bd097588> # /tmp/d20151101-11217-1gpwc1p/spec.rb:15:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 5) button_presses handles the 0 digit Failure/Error: expect(button_presses('0')).to eq 2 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bd095850> # /tmp/d20151101-11217-1gpwc1p/spec.rb:19:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 6) button_presses handles the 1 digit Failure/Error: expect(button_presses('1')).to eq 1 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bcee4da8> # /tmp/d20151101-11217-1gpwc1p/spec.rb:24:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 7) button_presses handles digits only Failure/Error: expect(button_presses('2015')).to eq 11 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bcedd968> # /tmp/d20151101-11217-1gpwc1p/spec.rb:29:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 8) button_presses handles * Failure/Error: expect(button_presses('**OMG**')).to eq 9 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bcecb218> # /tmp/d20151101-11217-1gpwc1p/spec.rb:33:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 9) button_presses handles # Failure/Error: expect(button_presses('canon in c#')).to eq 22 NoMethodError: undefined method `button_presses' for #<RSpec::Core::ExampleGroup::Nested_1:0x007f52bcec9008> # /tmp/d20151101-11217-1gpwc1p/spec.rb:37:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' Finished in 0.0038 seconds 9 examples, 9 failures Failed examples: rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:2 # button_presses works for simple words rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:6 # button_presses works for phrases with spaces rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:10 # button_presses works for phrases with numbers rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:14 # button_presses allows input in lowercase rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:18 # button_presses handles the 0 digit rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:23 # button_presses handles the 1 digit rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:28 # button_presses handles digits only rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:32 # button_presses handles * rspec /tmp/d20151101-11217-1gpwc1p/spec.rb:36 # button_presses handles #
......... Finished in 0.00559 seconds 9 examples, 0 failures
....F.F.F Failures: 1) button_presses handles the 0 digit Failure/Error: expect(button_presses('0')).to eq 2 expected: 2 got: 4 (compared using ==) # /tmp/d20151101-11217-1vxcfwb/spec.rb:19:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 2) button_presses handles digits only Failure/Error: expect(button_presses('2015')).to eq 11 expected: 11 got: 13 (compared using ==) # /tmp/d20151101-11217-1vxcfwb/spec.rb:29:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' 3) button_presses handles # Failure/Error: expect(button_presses('canon in c#')).to eq 22 expected: 22 got: 23 (compared using ==) # /tmp/d20151101-11217-1vxcfwb/spec.rb:37:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' Finished in 0.00884 seconds 9 examples, 3 failures Failed examples: rspec /tmp/d20151101-11217-1vxcfwb/spec.rb:18 # button_presses handles the 0 digit rspec /tmp/d20151101-11217-1vxcfwb/spec.rb:28 # button_presses handles digits only rspec /tmp/d20151101-11217-1vxcfwb/spec.rb:36 # button_presses handles #
......... Finished in 0.00573 seconds 9 examples, 0 failures
......... Finished in 0.00516 seconds 9 examples, 0 failures
....F.... Failures: 1) button_presses handles the 0 digit Failure/Error: expect(button_presses('ZER0')).to eq 11 expected: 11 got: 7 (compared using ==) # /tmp/d20151101-11217-18tsfdb/spec.rb:20:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' Finished in 0.00602 seconds 9 examples, 1 failure Failed examples: rspec /tmp/d20151101-11217-18tsfdb/spec.rb:18 # button_presses handles the 0 digit
......... Finished in 0.00509 seconds 9 examples, 0 failures
......... Finished in 0.00418 seconds 9 examples, 0 failures
....F.... Failures: 1) button_presses handles the 0 digit Failure/Error: expect(button_presses('ZER0')).to eq 11 expected: 11 got: 9 (compared using ==) # /tmp/d20151101-11217-i5y8fu/spec.rb:20:in `block (2 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>' # ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>' Finished in 0.00422 seconds 9 examples, 1 failure Failed examples: rspec /tmp/d20151101-11217-i5y8fu/spec.rb:18 # button_presses handles the 0 digit
......... Finished in 0.00799 seconds 9 examples, 0 failures
......... Finished in 0.00542 seconds 9 examples, 0 failures
......... Finished in 0.00563 seconds 9 examples, 0 failures
......... Finished in 0.00538 seconds 9 examples, 0 failures
......... Finished in 0.0046 seconds 9 examples, 0 failures
......... Finished in 0.00477 seconds 9 examples, 0 failures
......... Finished in 0.00573 seconds 9 examples, 0 failures
......... Finished in 0.00424 seconds 9 examples, 0 failures
/data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/matchers/operator_matcher.rb:12:in `register': undefined method `[]=' for nil:NilClass (NoMethodError) from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/matchers.rb:712:in `<module:Matchers>' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/matchers.rb:178:in `<module:RSpec>' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/matchers.rb:16:in `<top (required)>' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations.rb:2:in `require' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations.rb:2:in `<top (required)>' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:555:in `require' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:555:in `block in expect_with' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:550:in `map' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:550:in `expect_with' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:517:in `expectation_frameworks' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1058:in `configure_expectation_framework' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:404:in `ensure_example_groups_are_configured' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:418:in `set_it_up' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:368:in `subclass' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:342:in `describe' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/dsl.rb:18:in `describe' from /tmp/d20151101-11217-1jfefe/spec.rb:1:in `<top (required)>' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `load' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `block in load_spec_files' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `each' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `load_spec_files' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:18:in `run' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run' from /data/rails/evans-2015/shared/bundle/ruby/2.2.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
......... Finished in 0.00503 seconds 9 examples, 0 failures