Displaying 20 results from an estimated 800 matches similar to: "Can''t delete app/helpers"
2007 May 30
18
autotest and rspec_on_rails not happy
Hi,
I''ve been using the rspec and rspec_on_rails plugins quite happily on
my Rails project for a while now. Today I noticed the autotest
support in RSpec-1.0.3 and decided to give that a spin.
Oh tragedy!
$ autotest
loading autotest/rails_rspec
./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:33:in
`initialize'': undefined method `singularize''
2007 May 26
11
RSpec
Hi RSpec Mailing list,
I''m new to RSpec and I am trying to get it running with the caboo.se sample
rails app.
I installed the current version of rspec with rspec_on_rails
I tried to run rake spec but received:
330-07:~/desktop/restful_auth_rspec/vendor multimedia$ rake spec
(in /Users/multimedia/Desktop/restful_auth_rspec)
2007 Aug 08
3
rspec with autotest on a windows machine
Hello all,
I''m new to rSpec but after reading a couple of tutorials I''ve become
enamored. Anyway, I am at minute 42 of the rSpec basics screencast (
peepcode.com) and I''m having the following error running autotest w/rSpec:
D:\ruby\projects\forecaster>autotest
loading autotest/rails_rspec
c:\ruby\bin\ruby -rrubygems -e "require ''redgreen''"
2009 Mar 31
7
[Cucumber] Running single feature from command line
I am using Cucumber 0.2.3 and am having problems running a single
feature. In particular, the cucumber Textmate bundle was not working
so I traced it back and discovered that I could not run single files
or features from the command line either. My setup has the following
line in cucumber.yml
default: -r features/support/env.rb -r features/support/plain.rb -r
features/steps
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
I''m trying to write specs for a plugin I''m developing named audit_fu, and
I''m running into a problem which I can''t get past it. I''ve got the same
specs setup in the main rails app, and everything works fine there, it''s
just running the plugin specs that I''m having a problem with. My setup is:
- edge rails
- edge rspec (in
2007 Dec 09
2
What to test for views?
When you guys test views, what are you testing? Do you just test that
all the form fields exist in a new.rhtml, that all form fields are
filled in an edit.rhtml, and that all the proper columns are are shown
in a index.rhtml page, or is there something more that should be tested?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Mar 01
4
RC1, Rails, and problems with multiple options in spec.opts
I am having inconsistent output with multiple options in the
spec.opts file. I can, for instance, pass --color or --colour, or,
separately, use --drb. But when combining them I get:
/opt/local/lib/ruby/1.8/optparse.rb:1381:in `complete'': invalid
option: --options --color --drb (OptionParser::InvalidOption)
from /opt/local/lib/ruby/1.8/optparse.rb:1379:in `catch''
2007 Oct 05
13
spec''ing view render partial collection, local variable not found
I''m trying to spec out a render partial collection but I get the following
error
2)
NoMethodError in ''/games/_game.rhtml should show game name''
undefined method `body'' for #<#<Class:0x316580c>:0x2f1154c>
/Volumes/EXTERNAL/web/omenking.ca/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb:12:in
`matches?''
2007 Oct 10
2
RSpec seems to be having a hard time loading Helper classes
I am getting the error when I run the command: rake spec
This is a new project with not current test written besides the ones
auto-created for me.
+++++++++
$ rake spec
(in /Users/chrisolsen/Projects/Rails/chrisolsen/trunk)
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in
`load_missing_constant'': uninitialized constant ProjectsHelper
2007 Jan 23
1
Loading Rails Helpers in 1.2.1
I''m having a problem where a worker cannot load a rails helper in
rails 1.2.1
20070123-08:27:15 (4974) uninitialized constant
FileImportWorker::CatalogsHelper - (NameError)
20070123-08:27:15 (4974) /Users/erik/Documents/projects/myproject/
trunk/config/../vendor/rails/activerecord/lib/../../activesupport/lib/
active_support/dependencies.rb:478:in `const_missing''
2010 Dec 09
3
Where is my file?
I have a file whose name is
f:\Ralph-Rails-Apps\myproject\public\documentation\marketing\myproject-Upgrade-and-Update-Policy.htm
on my Windows machine
I have attempted to open this file (which I know exists) in my
controller using a variety of names to no avail.
/public/documentation/marketing/myproject-Upgrade-and-Update-Policy.htm
2007 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples.
The watir example works a little, but always chokes on the ''better
than fudge'' spec (failure output below). Also, is there any command
to pause the "browser"? If my connection slows, the test gets out of
whack.
The selenium example fails right away (output below). I do have the
0.9.0 selenium-rc
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
In case anyone else is trying to make this work, here is what I did
(Before 0.7.4 I had patched the regex in zentest redgreen, but that
is not used any more)
To use directly, it is very simple. In rspec_autotest/lib/
rspec_autotest.rb, add a -c to the spec_command in the initializer
function:
@spec_command = "spec -c --diff unified"
This won''t help however if you want
2008 Oct 13
2
rsync error: Error in socket IO(code 10) at clientserver.c(122)
Hi,
I am using cwrsync ver 2.1.5 over SSH to connect to
myproj@sourceforge.net and facing
some problems and not sure how to go about it. Below is the full text of the
result when I run the batch file. Was wondering if anyone has seen any
similar issue. Any thoughts/help is much appreciated.
------------------------------------------------
Tunnel: ssh
Command to run: "C:\Program
2006 May 05
1
RadRails and path issues
I have been using RadRails as my editor for Ruby development. Overall
I''m pretty happy with it. I''m experiencing a couple of path problems
though when using it.
Inside of my project within RadRails I will have a directory structure
that looks similar to this.
+MyProject
++src
+++src_sub_directories
++props
++output
..misc files
RadRails then treats all files within the src
2007 Oct 09
3
How to create something between a script and a package
(Before starting: I'm a total R noob so please bear with me in case of
any error or faux pas).
Hi,
For a small project, I'm writing a few simple R functions and calling
them from python (using RPy). I'm sharing the code with a couple of
friends, using a subversion server.
Now, I want something like a package, to be able to share functions
between ourselves. Having read a few package
2012 Jul 24
9
[Bug 52411] New: NV43 [GeForce 6600] nouveau in linux kernel 3.4.0 to 3.4.2 hangs at boot
https://bugs.freedesktop.org/show_bug.cgi?id=52411
Bug #: 52411
Summary: NV43 [GeForce 6600] nouveau in linux kernel 3.4.0 to
3.4.2 hangs at boot
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
2007 Jun 27
2
Controller specs not shareable?
Hi
I just wondered if there was a reason why Rails controller specs are
not shareable? eg
describe "All XHR POSTs to /gap/calculate_quote", :shared => true do
controller_name :gap
# ...
end
describe "XHR POST /gap/calculate_quote with valid details" do
it_should_behave_like "All XHR POSTs to /gap/calculate_quote"
# ...
end
blows up with
2015 Dec 21
3
lldb -c corefile get segmentation fault on centos7
Hi,
I build llvm+clang+lldb 3.7 successfully on centos7, and lldb -p PID works
pretty well. However when I tried lldb -c corefile executable_bin, lldb
itself core dumpped. Attached the following core info which is debugged by
gdb:
[root at dn-cn-controller-4fbd4 data1]# lldb -c a.corefile
/usr/local/myproject/bin/cnode
*(lldb) target create "/usr/local/myproject/bin/cnode" --core
2007 May 24
3
Annoying problem, stack error
For some reason rake spec is totally crapping out on me.
I don''t know what I did to make it break, the only thing I tried new
was install haml, but even after removing it there is still a stack
trace.
Here is what I am getting-
sparta at phalanx ff $ rake spec
(in /Users/sparta/Projects/work/idastudios/ff)