Displaying 20 results from an estimated 20000 matches similar to: "svn: Connection closed unexpectedly when getting trunk"
2008 Nov 01
5
Issues after removal of rpsec plugins and gem install
autotest will no longer run my tests after I installed the rpsec gem and
removed the plugins. I did install the rspec-rails gem as well.
Is anyone else having this issue?
--
Posted via http://www.ruby-forum.com/.
2007 Sep 05
6
Caveman Questions
Hello!
I''m just a caveman with some caveman questions.
I''ve been parsing Rspec for quite a while, and I''m writing my first series
of specs. My initial impressions are "Verbose, but understandable. Helpful
and intuitive, but so much to digest." I want to congratulate the folks who
are dedicating a chunk of their lives to writing this, and ask 2 caveman
2007 Dec 14
5
How do I mock params?
Here is the code within the controller:
Line 69: @photo = @member.build_photo(params[:photo]) unless
params[:photo][:uploaded_data].blank?
I got a little ahead of myself and wrote the code, and now have a bunch
of errors telling me that:
-------
6)
NoMethodError in ''Spec::Rails::Example::ControllerExampleGroup
MembersController handling PUT /members/1 should find the member
2007 Feb 28
2
Fixture name not available as class variable in spec
Hi there,
I can''t seem to access the fixture name as a class variable from my
specs. I have to set the variable in the spec setup.
... [fixtures]
my_fixture:
id: 1
... [rpsec]
@my_fixture.id.should == 1
... [error]
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.id
... [my setup]
RSpec-0.7.5.1 (r1395) - BDD for Ruby
Rails
2007 Oct 18
4
Feeding the framework ?
Hi there,
Is it just me or do many other rspec / rpsec_on_rails users spend more
time than they would like feeding the framework ?
Don''t get me wrong, I love rpsec, but I seem to spend about 2/3 hours
per week hunting down rspec problems.
For example, today `rake spec:models` is broken. When I migrate, load
fixtures and run `spec -cfs` all is well. When I run `rake spec:models`,
2007 Dec 14
13
RSpec-1.1.0 is released
The RSpec Development Team is pleased as glug (that''s kind of like
punch, but more festive) to announce RSpec-1.1.0.
Thanks to all who have contributed patches over the last few months.
Big thanks to Dan North and Brian Takita for their important work on
this release. Dan contributed his rbehave framework which is now the
Story Runner. Brian patiently did a TON of refactoring around
2007 Dec 11
5
RSpec TMbundle
I tried checking it out today using instructions here:
http://rspec.rubyforge.org/tools/extensions/editors/textmate.html
I get a ''svn: Connection closed unexpectedly''. Did it move or is it
down?
Nathan Sutton
fowlduck at gmail.com
rspec edge revision 3052
rspec_on_rails edge revision 3049
rails edge revision 8269
2007 Jan 13
2
svn reorganized?
It appears the repository has been rearranged when compared to the
documentation. For the Rails plugin, the correct script/plugin
install now seems to be:
script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
Is this correct?
2007 Nov 06
3
Keeping Up with Trunk
I have a project with rspec installed as a plugin using
svn:externals. Here are my externals:
rspec_on_rails svn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
rspec svn://rubyforge.org/var/svn/rspec/trunk/
rspec
I just did an svn up on both and now have a version mismatch:
########################################################################
2007 Jun 20
2
Rspec for the svn-less
Here is a short bash script I wrote to install rspec if your just using
the tarballs like me. I probably should have written it in ruby, but
there it is:
#!/bin/bash
RSPEC=rspec-1.0.4-pre-release.tgz
RSPECRAILS=rspec_on_rails-1.0.4-pre-release.tgz
[ -z "$1" ] && {
echo
echo "You must include a pathname"
echo
exit 1
}
if [ -d $1/vendor/plugins ]; then
cd
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
Rails 1.2.5
Ruby 1.8.6
Rake 0.7.3
RSpec 1.0.8
PostgreSQL 8.2.5
I am experiencing a problem with the "rake spec spec" task on an initial
trial of rspec. After creating the rails app I installed rspec and
rspec_on_rails in the vendor\plugins subdirectory from svn. I then used
ruby script\generate rspec_model product. I next manually created the
database instances depot_development and
2007 Oct 15
3
Spec::Rails::DSL::HelperEvalContextController: missing defau
Just created a new project and this is the error that I am getting when
I try to run my rspec tests:
Spec::Rails::DSL::HelperEvalContextController: missing default helper
path spec/rails/dsl/helper_eval_context_helper
Spec::Rails::DSL::ViewExampleController: missing default helper path
spec/rails/dsl/view_example_helper
[4;36;1mSQL (0.000138) [0;1mSET SQL_AUTO_IS_NULL=0
[4;35;1mSQL
2006 Dec 20
8
RSpec 0.7.5
The RSpec Development Team is pleased to announce the release of RSpec 0.7.5.
This release adds support for Heckle - Seattle''rb''s code mutation tool.
There are also several bug fixes to the RSpec core and the RSpec on
Rails plugin.
Changes: http://rspec.rubyforge.org/changes.html
Download: http://rubyforge.org/frs/?group_id=797
or
gem install rspec
Happy spec''ing,
2007 Oct 02
6
Rails 2.0 Preview Release and RSpec Trunk
Hi all,
For those of you checking out the Rails 2.0 preview release:
RSpec-1.0.8 does not support Rails 2.0.
Unfortunately, we''re in the middle of some big changes to the
internals in trunk and won''t be in a position to do a release for
another week or so. Therefore, if you are using the Rails 2.0 preview,
you''ll need to use the RSpec trunk.
Additionally, right now
2006 Dec 20
16
Edge RSpec on Rails...what did I forget?
Started a new Rails project, and installed RSpec and the Rails plugin
vendor/plugins/rspec (svn://rubyforge.org/var/svn/rspec/trunk/rspec) - 1332
vendor/plugins/rspec_on_rails
(svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails/vendor/plugins/rspec_on_rails)
- 1332
Generated the rspec file, created a model...the spec runs fine if I do
ruby spec/models/foo_spec.rb. Running rake though gives
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months,
and I installed edge rspec so that I can use Story Runner.
I''m running into a problem because I''ve got a couple rake tasks that
reference "spec/rake/raketask". If I try to run "rake spec" then it
pulls in the gem version instead of the plugin version. rake blows up
saying that
2007 Nov 28
6
Broken edge
Hi all,
Not sure if I''m the only one with this problem...
We''re on edge for both rails and rspec, and i just did an update...
Some apparently innocuous rails stuff was updated, and then half my
specs broke due to an error in rspec_on_rails:
ArgumentError in ''UserController without logged in user should show
the index page''
wrong number of arguments (2
2007 Nov 21
22
Getting Class in Shared Behaviours
Hi,
I want to be able to get at the described class in my shared behaviour. I''m
sure an example will say it better than my words
describe "my shared", :shared => true do
it "should tell me what the class is its describing" do
how_do_i_get_the_user_class_here
end
end
describe User do
it_should_behave_like "my shared"
#...
end
So in my
2007 Apr 17
8
problem with rspec_on_rails and @controller.should_receive(:render) in trunk
Hey guys!
I am using rspec trunk, and I am having a little problem with the
latest version. (I am quite sure this worked with an older version
about a week ago)
heres the spec:
it "should render the new user form without layout for a xhr request" do
@controller.should_receive(:render).with(:layout=>false)
xhr :get,:new
end
and the controller:
def new
render
2007 Nov 09
26
RSpec on Rails 2.0
I have a project on edge rails that I''m trying to convert from Test:Unit
to rspec. I have the rspec gem version 2338, the rspec and
rsepc_on_rails version 2831 in vendor/plugins, and rails version 8117 in
vendor/rails.
I''ve been able to get a few specs passing, have gotten the specs running
from autotest, and am able to do "rake spec:doc" and get the basic
command