RSpec / RSpec Mocks / Docs / Spec files
This page comes from RSpec Mocks 2.7.1. It is not part of the 3.12.4 docs. See the latest RSpec Mocks docs.
arbitrary file suffix
Scenario: .spec
- Given a file named "
a.spec" with:rubydescribe "something" do it "does something" do 3.should eq(3) end end - When I run `rspec a.spec`
- Then the examples should all pass
Source: features/spec_files/arbitrary_file_suffix.feature at v2.7.1, RSpec Mocks (MIT license).