e. I can resort to doing a shell command, but what
a hack, seems like there has to be better way.
On Thu, Feb 5, 2009 at 1:23 AM, aslak hellesoy wrote:
> On Thu, Feb 5, 2009 at 1:43 AM, Christopher Bailey
> wrote:
> > On Wed, Feb 4, 2009 at 12:54 PM, aslak hellesoy <
> aslak.he
I don't use fixtures or have any anywhere.
On Wed, Feb 4, 2009 at 11:32 PM, Mark Wilden wrote:
> On Wed, Feb 4, 2009 at 11:08 PM, Christopher Bailey
> wrote:
>
>>
>> My primary residual concern is that the DB isn't clean after the specs
>> run, which
w
alternatives to calling that task specifically, but I think rake has seen
them all as dependencies or what not already.
On Wed, Feb 4, 2009 at 9:47 PM, Mike Gaffney wrote:
> Are you running selenium or normal webrat (eg config.mode = :rails or
> config.mode = :selenium)?
>
>
> Christoph
On Wed, Feb 4, 2009 at 12:54 PM, aslak hellesoy wrote:
> On Wed, Feb 4, 2009 at 7:21 PM, Christopher Bailey
> wrote:
> > I've been battling the strangest behavior, and hoping someone can shed
> some
> > light...
> > I am using RSpec for MVC tests, and then Cuc
nburkert/cruisecontrolrb.git). Has anyone else seen this kind
of thing, any ideas? My versions:
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
rails (2.2.2)
rspec (1.1.11)
rspec-rails (1.1.11)
aslakhellesoy-cucumber (0.1.99.19)
nokogiri (1.1.1)
webrat (0.4.1)
--
Christopher Bailey
Co
it:
<% cache({:fragment => 'similar_deals'}, :expires_in => 24.hours) do %>
Can someone point me in the right direction for how to deal with this?
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
rspec-users
t; Is there any way to have a different SOUND from growl for a 'pass'
> rather than a 'fail' when using "./script/autospec" ???
>
> thanks
> ___
> rspec-users mailing list
> rspec-users@rubyfo
, Matt Wynne <[EMAIL PROTECTED]> wrote:
>
> On 9 Oct 2008, at 20:24, Christopher Bailey wrote:
>
> I have a controller test, where I want to do a GET on a page. Our URL's
>> are complex, and need to be correct (duh, but we allow some slop, but that
>> causes a redirect
nil. I'm wondering if this is due to being run
under the test environment or what I'm missing/not realizing, etc. What's
strange is that some of the restful resource route url helpers work fine.
Can anyone clue me in?
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge
that in RSpec 1.1.5, Story Runner will be replaced by Cucumber, so
> isn't learning Cucumber compulsory?
> --
> Posted via http://www.ruby-forum.com/.
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.o
o get comfortable with writing stories.
>
> I know I need to learn this, so I want to focus my efforts where I
> will get the most return on my time.
>
> Thanks
>
> PS. I am REALLY looking forward to the RSpec book!
>
return(fake_geocode)
end
end
Then, in tests where I want real geocoding, I just
set @do_not_mock_geocoding to true.
On Fri, Sep 5, 2008 at 8:36 PM, Pat Maddox <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 5, 2008 at 2:15 PM, Christopher Bailey <[EMAIL PROTECTED]>
> wrote:
&
Thanks, that did the trick.
And for including ApplicationHelper, I would say it should include it -
because that would parallel Rails' standard behavior.
On Mon, Sep 15, 2008 at 3:34 PM, David Chelimsky <[EMAIL PROTECTED]>wrote:
> On Mon, Sep 15, 2008 at 4:06 PM, Christopher Ba
y method/helper. It will only find markaby if I remove
the leading "helper." from in front of the call, and also include
ApplicationHelper (including this, when using helper. doesn't remedy it).
On Mon, Sep 15, 2008 at 11:15 AM, David Chelimsky <[EMAIL PROTECTED]>wrote:
> On
t;). How do I make it so that all the dependencies or Rails'
included stuff is found?
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
tub" it or whatever you'd call it?
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
t;> <---
>>
>> Now, when anyone pulls from the canonical repository they will get Rspec
>> and
>> Rspec-on-Rails as well, but as submodules pulled directly from the RSpec
>> repositories. Further, updating all submodules t
gt;
> csv_file = .
> file_to_upload = ActionController::TestUploadedFile.new(csv_file.path,
> Mime::CSV)
> post my_path, "import_file" => file_to_upload
>
>
> In my story I didn't have other fields in the form so I didn't bother to
> investigate why webrat wasn't working..
er from anyone out there using these tools would be
> great in order to get a feel for the current state of the art, and some
> fresh fuel for my googling!
>
> Sorry if this post is a bit rambling... thanks for bearing with me as I
> scramble up the learning curve!
>
> cheers
Ok, thanks. I have figured it out of course by now :) It was an
issue with RedCloth.
On Fri, Jul 25, 2008 at 5:56 AM, Bart Zonneveld <[EMAIL PROTECTED]> wrote:
>
> On 25 jul 2008, at 10:11, Christopher Bailey wrote:
>
>> I'm wondering if folks have suggestio
ed to see if that
made a difference). Any suggestions welcome, thanks.
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
browser) that
> doesn't really do anything.
>
> Maybe it's time to get rid of that for now and standardize on where
> this stuff goes :)
>
> HTH,
> David
>
>
>>
>> Cheers,
>> Jon
>>
>> ___
>> r
referer, so that you can use visits on actions that do "redirect_to
:back"), but prior to me doing that, I wanted to see if there was a
solution I wasn't aware of.
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
rspec-use
On Wed, Jul 2, 2008 at 10:52 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Jul 2, 2008, at 12:42 PM, Christopher Bailey wrote:
>
>> First, nevermind! Oy! I finally figured it out. The reason it
>> wasn't working in my controller code was that I was checkin
just
"cookies" was a hash with values, but alas, that's what was happening.
So, thank you very much for your time (that I essentially wasted :(
On Wed, Jul 2, 2008 at 9:57 AM, Christopher Bailey <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 2, 2008 at 9:41 AM, David Chelimsky <
On Wed, Jul 2, 2008 at 9:41 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Jul 2, 2008, at 11:15 AM, Christopher Bailey wrote:
>
>> On Wed, Jul 2, 2008 at 4:06 AM, David Chelimsky <[EMAIL PROTECTED]>
>> wrote:
>>
>>>
>>> This is just on
t; however, as I've been known to try to set a cookie in an example using
> cookies when I should have been using request.cookies. So I try to
> keep them explicit.
>
> HTH,
> David
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/m
hat my actual code works as
I've run through this by directly testing in the browser, but of
course I want specs to test it. Can someone show a test of setting a
cookie, getting a page/action (and then optionally testing cookie
after that)?
--
Christopher Bai
require some helpers or what not first, so that's why the
standard rule there wasn't picking those up.
On Fri, Jun 27, 2008 at 1:03 PM, Ben Mabey <[EMAIL PROTECTED]> wrote:
> Christopher Bailey wrote:
>>
>> I'm wondering if anyone has TextMate working really
ill be that way. It seems this is one of
the core problems - the ".rb" binding is greedy - whoever sets it last
sets it for everything, and anytime it changes, it changes for all.
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
ls
via the view (I use Webrat), and such, so that is definitely real, and
that to me covers that case sufficiently.
On Wed, Jun 25, 2008 at 7:38 PM, Mikel Lindsaar <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 26, 2008 at 12:18 PM, Christopher Bailey
> <[EMAIL PROTECTED]> wrote:
>
ylor
<[EMAIL PROTECTED]> wrote:
>
> On Jun 25, 2008, at 9:38 PM, Mikel Lindsaar wrote:
>
>> On Thu, Jun 26, 2008 at 4:37 AM, Christopher Bailey
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> If there's already been a thread on this, let me know
.count.should > 1" or
more specific depending on my needs, etc.
So, what are folks doing in this regard, any tips, recommendations,
suggestions, etc.? Is there some way to indicate dependencies like
this that I simply don't know about?
--
Christop
Just found answer to one of my questions below on being able to run
stories in TextMate. The new bundle for stories looks cool:
http://github.com/bmabey/rspec-story-tmbundle/tree/master
On Thu, Jun 19, 2008 at 9:56 AM, Christopher Bailey
<[EMAIL PROTECTED]> wrote:
> Kyle, thanks much fo
Jun 19, 2008 at 8:41 AM, Kyle Hargraves <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 19, 2008 at 9:31 AM, Christopher Bailey
> <[EMAIL PROTECTED]> wrote:
>> Specifically, I'm wondering, or contemplating, if I do unit tests for
>> my models, and then I use WebRat plus
h job. I
would then consider going to Selenium to test some of the detailed
JavaScript as needed.
Thoughts? What am I missing, or what are the downsides of such an approach?
--
Christopher Bailey
Cobalt Edge LLC
http://cobaltedge.com
___
rspec-users mail
36 matches
Mail list logo