Running specs

5 views
Skip to first unread message

Navin K

unread,
Nov 26, 2011, 11:40:59 PM11/26/11
to Ruby's Mail Discussion Group
Hello mail people,

I've found what I think is a bug (see https://github.com/mikel/mail/issues/119
) and in an effort to fix it, have forked the repo and written a
failing test. I've got a fundamental question about the test
environment for mail though - how do I run a specific spec?
Ordinarily I would do:

bundle exec rspec spec/mail/part_spec.rb:153

but I get no joy from that (I get "bundler: command not found:
rspec"). I can run all specs with `bundle exec rake spec` but that's
not what I want to do.

I've got a gemset, have done `bundle install` and can see the
following when I do `gem list`

activesupport (3.1.3)
bundler (1.0.21, 1.0.0.rc.5)
diff-lcs (1.1.3)
i18n (0.6.0)
mime-types (1.17.2)
multi_json (1.0.3)
polyglot (0.3.3)
rake (0.9.2, 0.8.7)
rdoc (3.9.4)
rspec (1.3.2)
treetop (1.4.10)
ZenTest (4.4.2)

How do I run specific tests?

Thanks much,

Navin

Reply all
Reply to author
Forward
0 new messages