Contents

arbitrary file suffix

Scenario: .spec

  • Given a file named "a.spec" with:
    ruby
    describe "something" do
      it "does something" do
        3.should eq(3)
      end
    end
  • When I run "rspec a.spec"
  • Then the output should contain "1 example, 0 failures"

Source: features/spec_files/arbitrary_file_suffix.feature at v2.2.1, RSpec Mocks (MIT license).