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 collaborator
Use the pattern option to tell RSpec to look for specs in files that match a pattern other than "**/*_spec.rb".
a file named "spec/example_spec.rb" with:
describe "two specs here" do it "passes" do end it "passes too" do end end
a file named "spec/example_test.rb" with:
describe "only one spec" do it "passes" do end end
- by default, RSpec runs files that match "**/*_spec.rb"
- the output should contain "2 examples, 0 failures"
- the --pattern flag makes RSpec run files matching the specified pattern and ignore the default pattern
rspec -P "**/*_test.rb"
- the output should contain "1 example, 0 failures"
Last published about 5 years ago by myronmarston.
RSpec Core settings