[rspec-users] shared examples with controllers + included modules?

2012-06-18 Thread Patrick J. Collins
Hi everyone, I ran into a little problem this evening and couldn't quite figure out how to solve it... So I have this sort of thing: class FooController < ApplicationController include Omg end module Omg def self.included(base) base.before_filter :set_something, :only => :show base

Re: [rspec-users] Selenium+Autotest: how to run browser in background?

2012-06-18 Thread Justin Ko
On Jun 14, 2012, at 12:11 PM, Joshua Muheim wrote: > Hey guys > > After hours of hard work I finally managed to set up my development > environment to run cucumber scenarios using autotest and selenium. > > What's a bit bugging is the fact that Firefox always jumps to the > foreground when Auto

Re: [rspec-users] 2 almost identical tests need different assertions to work and I can't figure out why

2012-06-18 Thread Justin Ko
On Jun 16, 2012, at 3:38 PM, Tyrel R. wrote: > Hey everyone, I am learning bdd and do deffently like it on the whole. I > ran into a strange situation I got around it but it left a question in > my mind and I would appreciate help in removing it ;) > > So hear is what happened > > test for one