search for: spicycode

Displaying 14 results from an estimated 14 matches for "spicycode".

Did you mean: spec_code
2009 Feb 02
12
[RSpec] rcov and/or rexml bug?
Hi, Running: Ruby 1.8.7 p72, RSpec 1.1.12 and rcov 0.8.1.2.0, I get the following error message with $ rake spec:rcov -- /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]'': no implicit conversion from nil to integer (TypeError) from /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap'' from
2007 May 22
3
rspec_on_rails'' spec:doc and dry runs
In rspec_on_rails, the spec:doc task uses --dry-run, which doesn''t jive well with rspec''s ability to write docs for you. For example, I use the rspec_expectation_matchers plugin from spicycode.com (scanned for a name, didn''t find one =), and end up writing specs like: it { @ticket.should validate_presence_of(:name) } Which results in specdocs such as: Ticket - NO NAME (Because of --dry-run) - NO NAME (Because of --dry-run) - NO NAME (Because of --dry-run) The exa...
2006 Nov 09
2
Hi everybody! Greetings from sunny Columbus, OH!
...is, and others. Consider this my hello email and notice that I will try my best to submit patches, documentation, and general feedback in the upcoming days and weeks to help this great framework. Chad Humphries ======================= are you living on the edge? work: theedgecase.com play: spicycode.com
2007 Nov 21
9
''it'' duplicate example: BUG
I svn up''ed this morning, to get the following message with rake spec: /Users/smt/src/web/urbis/trunk/vendor/plugins/rspec/lib/spec/example/ example_group_methods.rb:96:in `it'': Duplicate example: ''should contain the total number of messages'' (RuntimeError) Anyone have any ideas why this might be going on? My specs were all passing last night. Let me
2008 Sep 13
3
RCov / RSpec segfaults on Ubuntu
Hi all, I appreciate that this is not an RSpec question, but I wondered if anyone out there can offer some pointers. We''re using the latest versions of RSpec and RCov, and ruby --version says this (on the Ubuntu build server): ruby 1.8.6 (2008-07-17 patchlevel 279) [x86_64-linux] We''re getting intermittent (yes, intermittent!) segfaults from the build when running
2006 Apr 11
5
[OT] RailsConf Tickets ?
Just in case -- if anybody has got a spare ticket for RailsConf, i''d be very happy to buy it... I live in Chicago, so i can do this on very short notice as well, should anybody not be able to attend... :) Otherwise - this being Chicago - no question there''ll be scalpers... :) Thanks, Sebastian
2007 Jul 26
3
Spec for validation plugin
Hi, I''m writing a specification for a model called Location which has a post_code attribute which should be a valid UK postcode. I''m using the http://svn.designbyfront.com/rails/plugins/validates_as_uk_postcode/ validates_as_uk_postcode plugin to handle the validation but I''m not sure how I should properly specify my model. Heres the model code: class Location <
2007 Oct 19
11
Patch idea for rspec_on_rails
I recently wrote a matcher for testing AR associations which allows you to specify things like: Foo.should have_many(:bars).through(:bazes) I''m pretty darned proud of it and a couple of people have suggested that I should submit it to the rspec_on_rails project. Before I go to the trouble of writing out rdoc and fully spec''ing it, I just wanted to make sure this was
2007 Dec 22
1
Rails: Specing libraries
I was reading the documentation on using rails with rspec and I didn''t see anything about how to spec libraries in the rails /lib directory so that they''re integrated into the whole spec::rails system. Where should I put specs for my libraries, and what''s the best way to require the files that I''m testing in my spec? I''ve never used rspec before, and
2007 Nov 18
7
help anyone?
Hi everybody. Per http://rubyforge.org/pipermail/rspec-users/2007-November/004572.html, we''re going to be moving ticket tracking over to lighthouse. We''d like to get this rolling sooner than later, but we''re fairly well occupied getting ready for the 1.1 release and writing rspec books :) We''ve got the lighthouse account set up. The thing we need to do to
2007 Mar 19
4
spec.opts: questions about formatters, etc.
Questions concerning spec.opts: 1. Am I correct in believing that each option should go on a separate line of spec.opts in the rails spec directory? If this is so, why is it so? 2. Using a formatter in spec.opts doesn''t seem to work. Here is my spec.opts file: --colour -f s and this is what happens when I run the rake task: Couldn''t find formatter class s Make
2008 Sep 14
2
rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
i have a rails app that tests fine with "rake spec" but gets a segmentation fault when "rake spec:rcov" is run. i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5 my app is at http://github.com/scottnj/test_blog/tree/master so maybe someone can try to replicate my error so i know if the problem is with my code or something installed on my pc. here is a copy of my shell
2007 May 05
10
have_one and have_present
>Comment By: Luis Lavena (luislavena) > Date: 2007-05-04 23:37 > describe "An Asset" do > before(:each) do > @asset = Asset.new > end > > it { @asset.should have_one(:attachment) } > it { @asset.should have_present(:something) } > end Food for thought on these. I like have_one a lot. It speaks to me as a Rails developer and I think it speaks to
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
...Hi, > > I am also looking for 1 ticket for Rails-conf. If anybody has one, > please contact me psethi at gmail.com > > Thanks, > > > Pradeep > > Chad Humphries wrote: > > I''m also in the market for a ticket. You can reach me at chad [at] > > spicycode [dot] com. Sorry for another OT post on the list. > > > > -Chad > > > > Katie Kelly wrote: > >> Also, sorry for posting this to the forum. I couldn''t figure out how > to > >> get Sebastian''s email address. > >> > >>...