To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorrun with ruby command
You can use the ruby
command to run specs. You just need to require
rspec/autorun
.
Generally speaking, you're better off using the rspec
command, which
requires rspec/autorun
for you, but some tools only work with the ruby
command.
- Scenarios
-
- Scenario
-
- Given
-
a file named "example_spec.rb" with:
require 'rspec/autorun' describe 1 do it "is < 2" do 1.should be < 2 end end
- When
-
I run
ruby example_spec.rb
- Then
- the output should contain "1 example, 0 failures"
Last published over 7 years ago by myronmarston.