similar to: Checking out Rspec

Displaying 20 results from an estimated 1200 matches similar to: "Checking out Rspec"

2008 Jul 22
2
can''t execute a build - on windows + jruby
Hi all, Am trying to get cc.rb working on a windows machine, running under JRuby. I patched line 19 of project_migration.rb to use jruby, instead of ruby. execute "jruby #{File.join(migrate_scripts_directory, script)} #{@data_dir}" The add project works fine, but when I run start, the webpage just hangs on the ajax request to build - never actually executes the build at all, or comes
2005 Mar 12
1
FW: Watir needs a Win32GUI library
Anyone need something to do? :) Dan -----Original Message----- From: Bret Pettichord [mailto:bret@pettichord.com] Sent: Saturday, March 12, 2005 8:25 AM To: ruby-talk ML Cc: wtr-general@rubyforge.org Subject: Watir needs a Win32GUI library We''ve seen growing enthusiasm for Watir, a web-testing library that is good enough that it is convincing people to learn Ruby just so that they
2007 Sep 10
1
Using Rspec with ScenarioFixtures
I am currently trying to get Rspec to work with ScenarioFixtures. http://code.google.com/p/fixture-scenarios/ http://errtheblog.com/post/7708 I did a quick search and didn''t find any mention that any one else had gotten this to work yet. If i missed something, could you please drop me a line. Otherwise, expect a progress report when i get this working... Bret -------------- next part
2010 Mar 14
2
autotest & rspec2
Hi guys, I''m trying to find some information on how to get autotest to run the rspec2 tests. I have my project setup so "rake spec" runs the specs properly, but autotest seems to ignore/don''t know that there are specs to test. I read on the rspec2 wiki that autotest integration is o be added eventually. Any ideas on how to achieve this? Thanks, Jeroen
2007 Sep 22
1
Cannot build trunk
I apologize if this is a very dumb newbie issue, but I really want to experiment with the new "Story Runner" functionality in rspec and I''m having trouble using the trunk. I''ve tried in both windows and linux environments and have different problems on each. On linux, I execute svn co svn://rubyforge.org/var/svn/rspec/trunk to check out the trunk. This completes
2010 Nov 16
4
view.should render_template best practices?
I''ve been looking for the definitive answer for months now, and the RSpec book doesn''t touch on it at all: How do we now handle stubbing out rendering of partials in view specs in RSpec2? I have a large (35K+ lines of views and related specs) that I''m trying to upgrade to Rails3/RSpec2. My views use partials pretty extensively and this issue is a huge blocker for me.
2009 Mar 29
3
Eclipse and StatET Howto (also added Subversion, Rtools)
I recently got a RFC on Eclipse and StatET setup from a R-help user, so here it is. Note: there may be slight errors of omission in my directions as I am making these notes after I had a successful install. If you have questions post here. Setup tested with Eclipse 3.4.0 on XP 32-bit and Eclipse 3.4.2 on Vista 32-bit. R 2.9.0 alpha. Installing StatET: 1. Go to Help > Software Updates...
2013 Feb 18
3
Eclipse (again)...
Hi Just thought I might ask my recent question about Eclipse again, only in a slightly different way: Is anyone here using the Eclipse version supplied with the CentOS 6 distro (as opposed to a build downloaded from www.eclipse.org)? Does it work for you? Are you able to install additional components via the built-in software setup mechanism? Thanks, - Toralf This e-mail, including any
2010 Jul 01
1
using rSpec stub in Cucumber with rSpec2
Hello, I have a Rails3beta4 project where I want to use rSpec stubs in a Cucumber feature. Unfortunately it looks like requiring ''spec/stubs/cucumber'' in env.rb does not work anymore: I get a "no such file to load -- spec/stubs/cucumber (LoadError)" error. Is it possible to use rSpec stubs in Cucumber with rSpec2? If not, is there any other viable alternative? Thanks
2011 Mar 02
6
calbacks on models
Hi, I''m having some strange behavior on callbacks when testing with RSpec2. On my test, when I create a resource using the #create method the callbacks related to #before_create are not called. If I go to the console and I try to type the command Resource.create(client_uri: "http://example.com") all works fine. There are no mocks around, and I can''t understand if this
2007 Jul 26
5
Coding standards and whitespace
Recently as a result of using Git I''ve noticed a number of inconsistencies in the RSpec codebase with respect to whitespace (mixed line endings, mixed use of spaces and tabs for indentation, and trailing whitespace at the end of lines). I never would have noticed, but Git produces nice colorized diff output which highlights these kinds of inconsistencies. I wanted to ask if the
2011 Jan 14
2
Rspec autotest error
Hi all, I tried testing with Rspec for first time, following a tutorial. "rspec spec/" works fine but when I try ''autotest'' it gives me the error message below. I also made a gist about it: https://gist.github.com/779265 It seems like a redgreen or ZenTest error. I''m using Ubuntu10, Rails3, Ruby 1.9 and RVM. Any help is appriciated, thanks in advance, gezope
2007 Jan 24
14
Strikethroughs and dashes
Who really uses strikethroughs?? This is one of the most common tripwires in RedCloth. You are the friend--the only friend--who has offered to help. Obviously em dashes. I died in -2006- wait, no, two-thousand-FIVE! Obviously strikethrough. I''m going on a trip - a long one - to the Virgin Islands. That''s got to be en dashes. Such a cheap, no-hassle, no-worry
2006 Mar 16
3
Windows Deployment on Unix
Hi! Can anyone give me some pointers on how to deploy a Rails application developed under Windows with RadRails at a Unix Host (Textdrive). I?ve heard of switch tower, but have never used it. Does it have a routine to convert my Windows Carriage Returns/Line Feeds to Unix style? Is there something else I should know? Also, if somebody can point me to a good tutorial on setting up Rails to
2006 Aug 18
2
Please help with subclipse in radrails
I''ve been wrestling with this all night, I''m hoping someone can help. I followed the exact steps in: http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion ..but when I open a new ''Checkout project from SVN'' in RadRails, it opens up the second level dirs as the project dirs (ie. app, log, script, etc), leaving me with a mess of projects. I redid
2007 Sep 21
3
TextMate Bundle and exception when switching to alternate file.
Hey, sorry if this is something better suited to another list. I''ve encountered a strange problem with the RSpec.tmbundle in trunk - namely that it was raising an exception when pressing ctrl-shift-downarrow (switch between spec and source - "Alternate File"). I tracked down the issue to be handling of the file_type in switch_command.rb#content_for() - the code expected the
2010 Aug 11
6
rspec2 not working with shoulda
I am using rails edge. I am using gem "rspec-rails", "= 2.0.0.beta. 19" . I have following code at spec/models/user_spec.rb require ''spec_helper'' describe User do it { should validate_presence_of(:email) } it { should validate_presence_of(:name) } end Here is my gemfile group :development, :test do gem ''factory_girl_rails'',
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name
2007 May 18
1
problems with textmate and rspec bundle
Folks, I saw David''s tutorial yesterday at RailsConf and started working on RSpec lastnight and am having a *ton* of trouble with the bundle for TextMate. I''ve made *some* progress, but thought I''d throw it to the list * I run ruby, including rb-rubygems using the MacPorts install (per JDD''s Sandboxing Rails) * installed rspec 0.9.4 (also rcov 0.8.0.2 and
2007 Jun 14
4
Can''t run RSpec files in TextMate
Hi Not sure if this is the place to ask this or not. I''ve upgraded to RSpec 1.0.5, installed the latest TextMate bundle, but whenever I do "Run Behaviour Descriptions in selected files/directories" I get this: /Users/ashleymoran/Library/Application Support/TextMate/Pristine Copy/ Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:18:in `run_files'': private method