Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 217 Bytes
(require 'el-expectations)
(require 'rspec-mode)
(expectations
(desc "File name predicates")
(expect (not nil)
(rspec-spec-file-p "/foo/bar/baz_spec.rb"))
(expect nil
(rspec-spec-file-p "/foo/bar/baz.rb")))