Hi everybody,
New to the list, so apologies if this has been answered elsewhere, but I
didn't find it. I'm trying to build up a plugin of useful rspec macros for
rails development, eg. things like:
it_should_return_success
it_should_redirect_to { some_url }
I'm basing my ideas off of some stuff
On Tue, Oct 28, 2008 at 12:31 PM, Lenny Marks
wrote:
> Ooops. I meant the -l option not -n.
>
> It seems that '-l' command line option for rspec stopped working
as of
> rspec 1.1.3.
It's been working for me. I wrote a Vim script that runs the current
spec
(in whatever window it might be
On Oct 22, 2008, at 4:32 PM, Pat Maddox wrote:
I think any app with a rich domain model benefits from a service layer
that uses that model. When building Rails apps, stuff is relatively
simple and the controllers *are* the service layer. That's how I
think
of it, anyway. Most of the time
When you do end-to-end acceptance testing with Selenium, I think it
should be run against a production environment. Not THE production
environment, mind you, but simply a new Rails app running with
RAILS_ENV=production. Also, transactional fixtures should be turned
off. This is so that the app r
Sorry for not replying to the thread but I'm not getting any mail from
rspec-users right now for whatever reason.
It looks like it is an issue specific to jruby.
With rspec-1.1.11 and jruby-1.4
#linenumber_spec.rb
describe "line number" do
it "should be example one" do
true.should be
Ooops. I meant the -l option not -n.
It seems that '-l' command line option for rspec stopped working as of
rspec 1.1.3. I think this may be related to why I can't get NetBeans
to run focussed specs anymore. Does this work for others? I'm using
jruby but I don't think that's the issue.
ht
Thanks Mark
That was the problem
Mark Thomson wrote:
> The webrat gem works for me. Do you have "require 'webrat'" in your
> features/steps/env.rb file?
>
> Mark.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyf
Last time I looked, webrat is only patched in when you're running with
RAILS_ENV == "test". Are you definitely doing that?
On 27 Oct 2008, at 15:28, Mark Thomson wrote:
The webrat gem works for me. Do you have "require 'webrat'" in your
features/steps/env.rb file?
Mark.
Juanma Cervera w